On Mon, Mar 21, 2005 at 01:03:08PM +0300, Gennady G. Marchenko wrote: > > On my box qmailldap use two ldap servers and they in ldapserver file one per > line (with port). All work fine. >
Just as a sidenote, the use of multiple ldap servers in qmail-ldap is actually provided by the OpenLDAP library. We supply the a space separated list to ldap_init() and this function will cycle through the list searching a available server. I think the just try to open a tcp connection and if that fails they use the next entry and retry. For high availability it may be better to use something like OpenBSDs carp(4) for the server. -- :wq Claudio
