testing an LDAP connection before doing a findAll(). is it possible?

  • Thread starter Thread starter Figz
  • Start date Start date
F

Figz

Hi,

I am new to this stuff...hoping you can help. I am doing C#
(DirectoryEntry/DirectorySearcher) and connecting to and searching an
LDAP database. This database may or may not be always available. I
want to be able to test the connection before executing the search
with a findAll(). Does anyone know a way to "test" the connection
before trying to do the findAll()? Any help would be appreciated!

Thanks,
Eric
 
In other words, is there any way to know if the LDAP server is up and
ready to go before searching in it?
 
Back
Top