-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 In case someone needed this....
jerry - ---------- Forwarded message ---------- Date: Wed, 11 Dec 2002 21:23:59 -0500 From: Eric Nichols <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Finding Domains in the GC I answered my own question. I thought it best to share it with the group. Querying a Global Catalog for list of domain names is easy if each domain is a child domain. Get the default context and walk the tree... The problem I had is that can exist peer domains. These are not viewable through the structure or rootdse record. The solution is a fairly simple query: base="" objectclass=trusteddomain attrib=cn Each object will be a domain name inside the forest. From the cn attribute it's possible to guess the context of each domain (test.root.com = dc=test,dc=root,dc=com). I hope this helps someone! -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.0 (GNU/Linux) Comment: For info see http://quantumlab.net/pine_privacy_guard/ iD8DBQE9+LX9IR7qMdg1EfYRAlwIAJ9nUSn7o37jewuC9fZy0pMb/GJ/aACg7JJM 5/XOvDuLPFGkwtFUlZ+HE8k= =yzNs -----END PGP SIGNATURE-----
