Monitoring Trusts
New to Windows Server 2003 is the Trustmon WMI
provider. The Trustmon provider allows you to query the list of trusts
supported on a domain controller and determine if they are working correctly. The Trustmon provider consists of three classes, but the primary one is the Microsoft_DomainTrustStatus
class, which represents each trust the domain controller knows about. The Trustmon provider is contained under the root\MicrosoftActiveDirectory namespace. Note that this namespace is different than for the Active Directory provider, which is contained under root\directory\ldap.
Table 29-6 provides a list of the property methods available to this class.
Table 29-6. Microsoft_DomainTrustStatus properties
Property |
Description |
---|---|
|
NetBIOS name for the domain. |
|
SID for the domain. |
|
Flag indicating special properties of the trust. Can be any combination of the following:
|
|
Name of the domain controller the trust is set up with. |
|
Integer representing direction of the trust. Valid values include:
|
|
Naming of trusted domain. |
|
Boolean indicating whether the trust is functioning properly. |
|
Integer representing the status for the trust. 0 indicates no failure. |
|
Textual description of status for the trust. |
|
Get Active Directory, 3rd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.