[Samba] Re: any way to specify multiple LDAP servers for Samba to authenticate against?

Adam Tauno Williams adam at morrison-ind.com
Mon Dec 20 20:53:39 GMT 2004


> I had been using
> ldap server = myldapserver
> instead of passdb backend and didn't see anything about specifying 
> multiple servers.  Didn't know about
> passdb backend = ldapsam:"ldap://ldap-1.example.com 
> ldap://ldap-2.example.com"

This gives you redundancy, you will search the second DSA only if the
first is non-responsive.

If you want to actually check two seperate DSA's (if an account doesn't
exist on the first one) you need to do -

passdb backend = ldapsam:"ldap://ldap-1.example.com"
ldapsam:"ldap://ldap-2.example.com"




More information about the samba mailing list