Hi! I'm trying to get Samba running to accept more than one ldap server in smb.conf. I applied this patch (http://groups.google.com/groups?q=smb.conf+second+ldap+server&hl=en&lr=&ie=UTF-8&oe=UTF-8&selm=ar08ok%241pjt%241%40FreeBSD.csie.NCTU.edu.tw&rnum=5) to the samba (2.2.5) sources, but samba doesn't query the second ldap server I specified in smb.conf. Is there a version that can handle multiple ldap serverr ? Greetings Stefan -- __________________________________________ stefan weigel administration global linxs gmbh knowledge interaction romanstrasse 16 80639 munich - germany www.global-linxs.com tel.: +49(0)89. 189 336- 61 fax.: +49(0)89. 189 336- 99 email: sw@global-linxs.com __________________________________________
Hello, well samba-3 does it without any problems. samba 2.2.x should also be able to do it. Have you specified the second ldap server in /etc/ldap.conf ? uri ldaps://ldap1.com/ ldaps://ldap2.com/ in smb.conf you should have then: passdb backend = ldapsam:"ldaps://ldap1.com ldaps://ldap2.com" Andrew helped me out once with this... regards, Rauno> -----Original Message----- > From: Stefan Weigel [mailto:sw@global-linxs.de] > > I'm trying to get Samba running to accept more than one ldap > server in > smb.conf. I applied this patch > (http://groups.g..... > to the samba (2.2.5) sources, but samba doesn't query the > second ldap server I > specified in smb.conf. > Is there a version that can handle multiple ldap serverr ?
On Fri, 2003-12-12 at 01:31, Stefan Weigel wrote:> Hi! > I'm trying to get Samba running to accept more than one ldap server in > smb.conf. I applied this patch > (http://groups.google.com/groups?q=smb.conf+second+ldap+server&hl=en&lr=&ie=UTF-8&oe=UTF-8&selm=ar08ok%241pjt%241%40FreeBSD.csie.NCTU.edu.tw&rnum=5) > to the samba (2.2.5) sources, but samba doesn't query the second ldap server I > specified in smb.conf. > Is there a version that can handle multiple ldap serverr ?Samba 3.0 allows multiple ldap servers. The documentation in Samba 3.0.1 should indicate how to make this work. Andrew Bartlett -- Andrew Bartlett abartlet@pcug.org.au Manager, Authentication Subsystems, Samba Team abartlet@samba.org Student Network Administrator, Hawker College abartlet@hawkerc.net http://samba.org http://build.samba.org http://hawkerc.net -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://lists.samba.org/archive/samba/attachments/20031224/9c48c4fe/attachment.bin