规则发布的网站拒绝了 TMG 服务器尝试委派的凭据类型

Microsoft.Forefront.TMG.The_Web_site_published_by_a_rule_rejected_the_type_of_credentials_that_ISA_Server_tried_to_delegate.Rule (Rule)

如果规则发布的网站拒绝了 TMG 服务器尝试委派的凭据类型,此规则将生成警报

Knowledge Base article:

摘要

Web 发布规则已停止允许请求,原因是规则发布的网站拒绝 TMG 服务器配置为委派的凭据类型。 这可能是由于配置错误造成的。 请检查 Web 发布规则的凭据委派设置。

原因

发布的服务器的身份验证设置与 Web 发布规则使用的凭据委派类型不匹配。

解决方法

请确定发布的 Web 服务器将接受的委派凭据类型,方法是检查该 Web 服务器返回的 401 响应中的身份验证头,或检查该服务器的身份验证配置。 然后,验证发布规则中指定的凭据委派类型是否对应于发布的服务器所接受的委派凭据类型之一。 为此,请在“TMG 服务器管理”控制台树中单击“防火墙策略”。 在“防火墙策略”选项卡上,双击适用的规则。 在“身份验证委派”选项卡上,检查 TMG 服务器所使用的凭据委派类型。

Element properties:

TargetMicrosoft.Forefront.TMG.Publishing.ServerComponent
CategoryEventCollection
EnabledTrue
Alert GenerateFalse
RemotableTrue

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.Forefront.TMG.Rule.AlertGenerate.DS Default
WA WriteAction Microsoft.Forefront.TMG.Rule.AlertGenerate.WA Default

Source Code:

<Rule ID="Microsoft.Forefront.TMG.The_Web_site_published_by_a_rule_rejected_the_type_of_credentials_that_ISA_Server_tried_to_delegate.Rule" Enabled="true" Target="Microsoft.Forefront.TMG.Publishing.ServerComponent" ConfirmDelivery="true" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>EventCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="Microsoft.Forefront.TMG.Rule.AlertGenerate.DS">
<ComputerName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>Application</LogName>
<EventsPattern>^(21314)$</EventsPattern>
<EventType>1</EventType>
<SourcePattern>Microsoft Forefront TMG Web Proxy</SourcePattern>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WA" TypeID="Microsoft.Forefront.TMG.Rule.AlertGenerate.WA">
<AlertMessageId>$MPElement[Name="Microsoft.Forefront.TMG.The_Web_site_published_by_a_rule_rejected_the_type_of_credentials_that_ISA_Server_tried_to_delegate.AlertMessage"]$</AlertMessageId>
<DomainName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/DomainDnsName$</DomainName>
<Priority>1</Priority>
<Severity>2</Severity>
</WriteAction>
</WriteActions>
</Rule>