[Samba] [Bug?Report] ldapsam duplication of output if two ldapsam sources

Andrew Bartlett abartlet at samba.org
Tue Nov 18 09:52:03 GMT 2003


On Tue, 2003-11-18 at 20:22, Jérôme Fenal wrote:
> Goog morning,
> 
> First of all, my setup :
> - Samba 3.0.1pre1 to Samba 3.0.1pre3 (RPM home recompiled from samba.org
>    SRPM);
> - OpenLDAP 2.0.27 (stock RH9) + Solaris RootDSE patch, all on RH9;
> - Two LDAP servers (one master, one slave, replication of all the base);
> - Samba setup as PDC + BDC, using Samba3 LDAP schema.


> So I know I can avoid the problem by not specifying two sources, but I'd 
> prefer setting both, for availability reasons.

So use this syntax instead:

passdb backend = ldapsam:"ldap://server1 ldap://server2"

This gives the problem to the LDAP libraries, which may or may not know
how to handle server-failover.  (But it works very well for OpenLDAP).

If you specify two ldapsam entires, you are really saying that you have
two distinct databases you wish to combine.

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
-------------- 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/20031118/36a35e51/attachment.bin


More information about the samba mailing list