LDAP hangs during lookup

warnockm

New member
Joined
Sep 14, 2006
Messages
2
Programming Experience
1-3
I'm working on my first application that uses our public ldap server. I use directorysearcher, directoryentry to connect using anonymous authentication, and a filter to find the entries i want. My problem is that when i get to FindAll, it takes forever. Using an LDAP browser, i get the results instantly, but using this call, it lags for 10 or 15 seconds before doing anything. I put a network sniffer on the wire and it doens't even make the LDAP traffic until the 10 or 15 seconds have gone by. The results come back right away. What would cause it to wait so long before connecting to the ldap server? on the LDAP browser, i'm using anonymous bind. to do the same in VB, use DirectoryEntry, and blank username & password, an authenication type anonymous.

i'm using VB.NET 2005, .NET 2.0.
thanks for any help you can give.
 
Last edited:
Back
Top