David Touzeau
2010-Dec-22 23:28 UTC
[Samba] Multiple LDAP backends with different search base
Dear I would like Samba query multiple LDAP backend servers According documentation ---------------------------------------- passdb backend = "ldapsam:ldap://192.168.1.60/ ldap://192.168.1.61/ ldap://192.168.1.62/" Will do the trick but i have different settings according ldap suffix,ldap group suffix and ldap admin dn How to define different suffix and LDAP admin dn for all LDAP backends ?
Gaiseric Vandal
2010-Dec-23 02:54 UTC
[Samba] Multiple LDAP backends with different search base
I would guess that if have have multiple LDAP backends it would be for redundancy- which means the ldap servers would need to be configured for replication, which means they would need to have the same suffixes for the accounts. -----Original Message----- From: samba-bounces at lists.samba.org [mailto:samba-bounces at lists.samba.org] On Behalf Of David Touzeau Sent: Wednesday, December 22, 2010 6:28 PM To: samba at lists.samba.org Subject: [Samba] Multiple LDAP backends with different search base Dear I would like Samba query multiple LDAP backend servers According documentation ---------------------------------------- passdb backend = "ldapsam:ldap://192.168.1.60/ ldap://192.168.1.61/ ldap://192.168.1.62/" Will do the trick but i have different settings according ldap suffix,ldap group suffix and ldap admin dn How to define different suffix and LDAP admin dn for all LDAP backends ? -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Daniel Müller
2010-Dec-23 07:31 UTC
[Samba] Multiple LDAP backends with different search base
This is not possible as in samba3 conf, you will have to fix your search base. Ldap as I understand and use it, is a way to have one and only pass through directory for A whole network. ----------------------------------------------- EDV Daniel M?ller Leitung EDV Tropenklinik Paul-Lechler-Krankenhaus Paul-Lechler-Str. 24 72076 T?bingen Tel.: 07071/206-463, Fax: 07071/206-499 eMail: mueller at tropenklinik.de Internet: www.tropenklinik.de ----------------------------------------------- -----Urspr?ngliche Nachricht----- Von: samba-bounces at lists.samba.org [mailto:samba-bounces at lists.samba.org] Im Auftrag von David Touzeau Gesendet: Donnerstag, 23. Dezember 2010 00:28 An: samba at lists.samba.org Betreff: [Samba] Multiple LDAP backends with different search base Dear I would like Samba query multiple LDAP backend servers According documentation ---------------------------------------- passdb backend = "ldapsam:ldap://192.168.1.60/ ldap://192.168.1.61/ ldap://192.168.1.62/" Will do the trick but i have different settings according ldap suffix,ldap group suffix and ldap admin dn How to define different suffix and LDAP admin dn for all LDAP backends ? -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
vishesh kumar
2010-Dec-23 08:10 UTC
[Samba] Multiple LDAP backends with different search base
I think you should mention this is /etc/ldap.conf Thanks On 12/23/10, Daniel M?ller <mueller at tropenklinik.de> wrote:> This is not possible as in samba3 conf, you will have to fix your search > base. > Ldap as I understand and use it, is a way to have one and only pass through > directory for > A whole network. > > ----------------------------------------------- > EDV Daniel M?ller > > Leitung EDV > Tropenklinik Paul-Lechler-Krankenhaus > Paul-Lechler-Str. 24 > 72076 T?bingen > > Tel.: 07071/206-463, Fax: 07071/206-499 > eMail: mueller at tropenklinik.de > Internet: www.tropenklinik.de > ----------------------------------------------- > -----Urspr?ngliche Nachricht----- > Von: samba-bounces at lists.samba.org [mailto:samba-bounces at lists.samba.org] Im > Auftrag von David Touzeau > Gesendet: Donnerstag, 23. Dezember 2010 00:28 > An: samba at lists.samba.org > Betreff: [Samba] Multiple LDAP backends with different search base > > Dear > > I would like Samba query multiple LDAP backend servers > > According documentation > ---------------------------------------- > passdb backend = "ldapsam:ldap://192.168.1.60/ ldap://192.168.1.61/ > ldap://192.168.1.62/" > > Will do the trick > > but i have different settings according > ldap suffix,ldap group suffix and ldap admin dn > > How to define different suffix and LDAP admin dn for all LDAP backends ? > > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba >-- http://linuxinterviews.blogspot.com
Andrew Bartlett
2010-Dec-24 01:18 UTC
[Samba] Multiple LDAP backends with different search base
On Thu, 2010-12-23 at 00:28 +0100, David Touzeau wrote:> Dear > > I would like Samba query multiple LDAP backend servers > > According documentation > ---------------------------------------- > passdb backend = "ldapsam:ldap://192.168.1.60/ ldap://192.168.1.61/ > ldap://192.168.1.62/" > > Will do the trick > > but i have different settings according > ldap suffix,ldap group suffix and ldap admin dn > > How to define different suffix and LDAP admin dn for all LDAP backends ?This is not supported. If you really require that, perhaps another OpenLDAP instance can be configured as a combining proxy for the different bases, or you can replicate all the data using manual scripts into a single tree. Multiple distinct LDAP trees should serve multiple distinct LDAP domains. What exactly are you trying to do here? Andrew Bartlett -- Andrew Bartlett http://samba.org/~abartlet/ Authentication Developer, Samba Team http://samba.org Samba Developer, Cisco Inc. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 190 bytes Desc: This is a digitally signed message part URL: <http://lists.samba.org/pipermail/samba/attachments/20101224/c2cc1630/attachment.pgp>