[Samba] samba-3 PDC & BDC fail-over with 2 LDAP serversfails

jean-marc pouchoulon jean-marc.pouchoulon at ac-montpellier.fr
Fri Oct 10 10:03:25 GMT 2003

I can't test it very well in a prod env, but if i stop one ( the first
in order ) ldap server and I made a research with my xp PC , I have no
But I use nestcape directory server.


-----Message d'origine-----
De : Andrew Bartlett [mailto:abartlet at samba.org] 
Envoyé : vendredi 10 octobre 2003 10:12
À : jean-marc pouchoulon
Cc : 'Rauno Tuul'; samba at lists.samba.org
Objet : Re: RE : [Samba] samba-3 PDC & BDC fail-over with 2 LDAP

On Tue, 2003-10-07 at 19:58, jean-marc pouchoulon wrote:
> >PDC (also master-ldap) smb.conf
> >passdb backend = ldapsam:ldaps://master-ldap.lan
> ldapsam:ldaps://slave-ldap.lan
> 	Beware of the comma :
> 	use passdb backend = ldapsam:ldaps://master-ldap.lan, 
> ldapsam:ldaps://slave-ldap.lan, guest

Nope.  The comma doesn't matter.

passdb backend = ldapsam:"ldaps://ldap1 ldaps://ldap2"

is what you want.  That way, OpenLDAP gets to process the 'ldap url' in
whatever way they like - which is how we get this support.

BTW, the first ldap server in that list should be the 'closest' server,
as OpenLDAP will bind it that first.

Andrew Bartlett

Andrew Bartlett                                 abartlet at pcug.org.au
Manager, Authentication Subsystems, Samba Team  abartlet at samba.org
Student Network Administrator, Hawker College   abartlet at hawkerc.net
http://samba.org     http://build.samba.org     http://hawkerc.net

More information about the samba mailing list