How to change the default domain controller when querying AD in a different site ?
- by Linefeed
We have 2 different locations, and at both site we have multiple domain controllers (Win2008).
In our application we use Serverless Binding to execute our LDAP queries http://msdn.microsoft.com/en-us/library/ms677945(v=vs.85).aspx.
If we look at de DnsHostName of the LDAP://RootDse on site B we always get the default domain controller of site A. Therefor all LDAP queries go much slower.
Is there a way to change the default domain controller per site ?