Does the method support a list of host names? I'm using MMR on the backend and need to find the easiest way to open a connection to either replica master when one or the other may be unavailable.
Thanks, Frank On Wed, Mar 30, 2016 at 10:38 AM, Emmanuel Lécharny <elecha...@gmail.com> wrote: > 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 > > -- Frank