[Samba] Re: Samba PDC + OpenLDAP replica

paul kölle paul at subsignal.org
Sat Nov 5 22:26:56 GMT 2005

Jukka Hienola wrote:
> Nov  4 17:37:39 slave smbd[18093]:   fetch_ldap_pw: neither ldap secret
> retrieved!
> Nov  4 17:37:39 slave smbd[18093]: [2005/11/04 17:37:39, 0]
> lib/smbldap.c:smbldap_connect_system(813)
> Nov  4 17:37:39 slave smbd[18093]:   ldap_connect_system: Failed to
> retrieve password from secrets.tdb
> so I assume that Samba can now bind to LDAP directory, but fails when
> trying to get user's data. I don't know
> why Samba is trying to retrieve data from secrets.tdb, because in
> smb.conf I have set
> passdb backend = ldapsam:"ldap://slave.ldap.server
> ldap://master.ldap.server"
For ldap binds, samba needs the password for the DN you have in your
"ldap admin dn" directive. The password should have been set with
"smbpasswd -w".


More information about the samba mailing list