I'm using Samba marked 2.999+3.0cvs20020723 from Debian `sid'.

In smb.conf, I've got:

   passdb backend = ldapsam:ldaps://master.ldap.server 
ldapsam:ldaps://backup.ldap.server tdbsam

All works fine when both ldap servers are up, or when at least the
first is up.  When the first is down, though, samba tries to connect
to it, doesn't manage to, and gives up instead of trying the next
one(s).

This is the log output:

Oct 10 14:31:23 newton smbd[13549]: [2002/10/10 14:31:23, 0] 
passdb/pdb_ldap.c:ldapsam_connect_system(322)
Oct 10 14:31:23 newton smbd[13549]:   Bind failed: Can't contact LDAP server
Oct 10 14:31:23 newton smbd[13549]: [2002/10/10 14:31:23, 0] 
passdb/pdb_ldap.c:ldapsam_getsampwnam(1206)
Oct 10 14:31:23 newton smbd[13549]:   ldapsam_getsampwnam: init_sam_from_ldap failed!


Is this by design?  Can samba still be forced to try next backends if
the current one can't be accessed?


Massimiliano Mirra
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Reply via email to