[Samba] More than one LDAP-Server in smb.conf?

"M. Müller" malte.mueller at ewetel.net
Sat Jan 15 10:44:49 GMT 2005


This might not be necessary, but an entry in the /etc/ldap.conf might 
help if one LDAP-server goes down:
URI     ldap://localhost:389/ ldap://other-server:389/
nsswitch can use "other-server" if localhost doesn't provide 
ldap-services any more.

Kind regards,
Malte Mueller

William Jojo schrieb:

>
>This is from:
>
>http://us4.samba.org/samba/docs/man/smb.conf.5.html
>
>pay close attention to the quotes.
>
>passdb backend = ldapsam:"ldap://ldap-1.example.com ldap://ldap-2.example.com"
>
>
>Bill
>
>
>On Sun, 7 Nov 2004, Matthias Spork wrote:
>
>  
>
>>Hello,
>>
>>can I use more than one LDAP-Server  in my smb.conf? I would like to have
>>a backup, if the first OpenLDAP crashed.
>>
>>In my installation (306), this had no effekt:
>>
>>passdb backend = ldapsam:ldap://127.0.0.1:389, ldapsam:ldap://server2:389
>>, ldapsam:ldap://server1:389
>>
>>
>>matze
>>--
>>To unsubscribe from this list go to the following URL and read the
>>instructions:  https://lists.samba.org/mailman/listinfo/samba
>>
>>
>>    
>>



More information about the samba mailing list