[Samba] 2.2.5 Unable to authenticate users: no ldap secret retrieved

Bradley W. Langhorst brad at langhorst.com
Sun Jul 28 09:59:27 GMT 2002


it keeps the ldap password in there...
use smbpasswd -w to set the ldap admin password.

brad
On Sun, 2002-07-28 at 21:43, root wrote:
> 
> 
> Samba 2.2.5 re-compiled without choosing ldap support on Turbolinux WS V.8.
> 
> I am not able to authenticate users, either by
> #smbclient //pinguin/public  -U root%password
> response:ERRSRV-ERRbadpw (Bad password - name/password pair in Tree Connect 
> or Session Setup are invalid)
> 
> or by trying to add a new samba account (system account exists)
> #smbpasswd -a administrator
> 
> resonse:
> ldap_open_connection:connection opened
> fetch_ldap_pw:no ledap secret retrieved!
> ldap_connect_system: Failed to retrieve password for  from secret.tdb
> Failed to add entry for user administrator.
> Failed to modify password entry for user administrator.
> 
> The smbpasswd file was created from the system accounts by
> #cat /etc/passwd | mksmbpasswd.sh >/usr/local/samba/private/smbpasswd
> and contains all the relevant entires.
> 
> secret.tdb is an empty file.
> 
> Why does samba look in secret.tdb and establish an ldap connection, when it 
> should not ??? Any suggestions ?
> 
> 
> -- 
> Harm Kirchhoff
> Tels  (private)  +81-3-5927-5921
>       (office )  +81-3-5228-1721
>       (mobile )  +81-70-5653-8220
> 
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
> 
> 
> 






More information about the samba mailing list