Claudio Jeker wrote:
yes but carp works only if the openladp machine goes down, not if the openladp deamon hangs. I have problems on my debian box to keep openladp running stable, now I have tried to switch ldap backend, let's see what happens.
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.
So you say qmail-ldap uses the openldap library, so it could be a problem of the openldap implementation of debian and not of qmail-ldap itself. Hmmm, I will try to fihure it out.
Anyway, it's one per line or on the same line space separated? I'm a little bit confused now!
Bye
Cristiano
