On Mon, Mar 21, 2005 at 06:17:14PM +0100, Cristiano Cumer wrote:
> Claudio Jeker wrote:
> 
> >
> >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.
> > 
> >
> 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.
> 

I never had issues with LDBM. OpenLDAP was very solid with it.

> 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.

I think it is just an OpenLDAP issue. They seem to miss may important
cases where the second server should be used because the first one
chokes.

> Anyway, it's one per line or on the same line space separated? I'm a 
> little bit confused now!
> 

Both is valid :). At the beginning it was one per line but that
restriction was changed some time ago and now you can use more than one
line.

-- 
:wq Claudio

Reply via email to