SQL LDAP querry
Hello All
I have a question about how to tell what Domain controller you are querrying against when you do an LDAP querry to a Domain with mulltiple Domain controllers?
For example
Domain = Example.net
Domain controller 1 = DC1
Domain controller 2 = DC2
LDAP string : ldap://Example.net:389
How do i tell if i just run the querry on DC1 or DC2 ?
Thank you
February 10th, 2012 4:06pm
I have never seen any way to tell which DC handled your query. In most cases it should not matter. The exception would be when you retrieve the value of an attribute that is not replicated to all DC's, like logonCount, lastLogon, or badPasswordTime. If necessary,
you can specify a specific DC in the base of the query. For example:
LDAP://MyServer/dc=MyDomain,dc=com
Richard Mueller - MVP Directory Services
Free Windows Admin Tool Kit Click here and download it now
February 10th, 2012 5:29pm


