View Single Post
Old 01-12-2009, 07:57 AM   #2 (permalink)
office politics
office politics's Avatar
 
It's all just 1s and 0s

Join Date: Jan 2004

Location: in the lab

Posts: 4,410

office politics will become famous soon enough

Default Re: Multi Domain Active Directory Forest query in C#

Quote:
Originally Posted by hygor View Post
I think this is to do with the multi-domain structure of the AD Forest as if I change the LDAP connection to: lConnex = "LDAP://[SERVER]:[PORT]/DC=this,DC=here"; I can retrieve a few users (but not those from the other domains).
i would try to find all the distinguished names in the forest. Then run separate queries.



edit:

this post from another forum describes searching gcs /multi domains. doesn't give an answer but describes some possibilites. that board could prolly answer more quickly.

Directory Programming .NET - Best Way to Handle Multiple Domains?

Last edited by office politics; 01-12-2009 at 12:27 PM.
office politics is offline