Last post Jan 15, 2007 04:25 AM by c0bra
Jan 15, 2007 04:25 AM|c0bra|LINK
We use ASP.NET to batch import users to our AD with 3 Domain Controllers.
The only problem is that we do not want to bind to a specific server when we import the users, so we use LDAP string like
LDAP://Domain so that any available Domain Controller can handle the request. Now when i create the users, it seems like it happens "too fast" for the DC:s, because the first LDAP bind takes care of creating the userobject, and then when i try
to bind to invoke "SetPassword" i sometimes get another DC and it has not yet replicated the userobject, so the password invocation fails.
Is it possible to "cache" the domain controller so that it looks up an available DC and then uses only that one in further binds ?