Le 30/03/16 16:14, Frank Crow a écrit : > With the native "C" libraries, the ldap_init() method (and I *think* the > ldap_initialize() method) can take a null or a list of host names. For > the null case, it will attempt to determine the default host. For the > list case, it will connect to the first available host in the list. > > Does the Apache LDAP API support this behavior?
Use the LdapNetworkConnection() constructor (no parameters). It will create a connection on localhost with port 389