Using this script (http://gallery.technet.microsoft.com/scriptcenter/Enumerate-Domain-Trusts-25ecb802) to enumerate domain trusts and when looking at my trusts in adsiedit, I find I have four different trusts (some one-way, some two-way) that return0x0 as their trustAttributes value. I have seen this chart (http://msdn.microsoft.com/en-us/library/cc223779) for the values, but cannot find what the value 0x0 would mean. I mostly find information similar to this:
0x00000001 - The trust is Non-Transitive
0x00000002 - The trust is valid only for Windows 2000 (and newer) computers
0x00000008 - Forest Trust
0x00000010 - Trust is to a domain or forest that is not part of the organization
0x00000020 - Trusted domain is within the same forest
0x00000040 - External Trust
I have also googled quite a bit and found many instances of the value being returned as part of Event Logs capturing trust related records (though the value is not part of the error itself) so I don't believe it is uncommon... just not documented where I can find it?
Any help would be greatly appreciated!
Sample of my script returns with zero:
Two-way:
Trust Description:
Trust Created: 04/14/2010 15:54:02
Trust Modified: 11/20/2013 02:53:56
Trust Direction: Bidirectional (two-way trust)
Trust Type: Uplevel (Active Directory domain - parent-child, root domain, shortcut, external, or forest
Trust Attributes: 0
One-way:
Trust Description:
Trust Created: 10/09/2008 10:05:27
Trust Modified: 12/03/2013 14:37:24
Trust Direction: Inbound (TrustING domain)
Trust Type: Uplevel (Active Directory domain - parent-child, root domain, shortcut, external, or forest
Trust Attributes: 0