Searching global catalog
Posted
by Will I Am
on Stack Overflow
See other posts from Stack Overflow
or by Will I Am
Published on 2009-09-17T15:20:08Z
Indexed on
2010/03/30
13:13 UTC
Read the original article
Hit count: 502
If I do a query (I plan to use SDS.P) against the global catalog, what should the starting path be so I can search the entire GC?
I want to enumerate all users in GC, for example. Let's say my gc has users for 3 domains (one parent, two children):
TEST.COM
ONE.TEST.COM
TWO.TEST.COM
and i'm on a computer in ONE.TEST.COM. I do not want to hardcode DC=XXX,DC=yyy, I would like to determine that at runtime.
TIA! -Will
© Stack Overflow or respective owner