到 LDAP 服务器的连接已还原

Microsoft.Forefront.TMG.The_connection_to_an_LDAP_server_was_restored.Rule (Rule)

如果到 LDAP 服务器的连接已还原,此规则将生成警报

Knowledge Base article:

摘要

到 LDAP 服务器的连接已还原。

原因

已解决阻止 TMG 服务器计算机连接到 LDAP 服务器的问题。

解决方法

无需用户操作。

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_connection_to_an_LDAP_server_was_restored.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>^(21287)$</EventsPattern>
<EventType>4</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_connection_to_an_LDAP_server_was_restored.AlertMessage"]$</AlertMessageId>
<DomainName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/DomainDnsName$</DomainName>
<Priority>0</Priority>
<Severity>0</Severity>
</WriteAction>
</WriteActions>
</Rule>