Posted By:
Ron_Bass
Posted On:
Monday, March 26, 2007 10:31 PM
Using a InitialDirContext object, searching an Active Directory LDAP fails. Specifically I'm using the .search method and the error occurs when executing the NamingEnumeration.hasMore method.
The error is that a PartialResultException is throw reporting that the root cause was a ServiceUnavailableException: testdomain.net:389 socket closed.
I've validated the environment I'm using to establish the InitialDirContext is correct (user,pass,url).
What could be causing my socket connection to close?