Misty Stanley-Jones
2004-Oct-28 16:08 UTC
[Samba] pam_ldap for unix accounts, smbpassword for samba?
Is this setup possible? I am converting an old server to look on LDAP for its UNIX account info. I am able to auth in every way with a LDAP-only user (login, telnet, ssh, su). However, after adding the user with smbpasswd -a, the password doesn't work: [root@furnsrv log]# smbpasswd -a testuser New SMB password: Retype new SMB password: Added user testuser. [root@furnsrv log]# smbclient -L furnsrv -U testuser Password: session setup failed: NT_STATUS_LOGON_FAILURE [root@furnsrv log]# su testuser Password: sh-2.05b$ Any help with this would be appreciated. I'm not ready to move the SAMBA side of things over to LDAP just yet. Thanks, Misty
Igor Belyi
2004-Oct-28 16:34 UTC
[Samba] Re: pam_ldap for unix accounts, smbpassword for samba?
What error do you see in smbd log? Did you try to add "-W <domain name>" to smbclient command? Igor Misty Stanley-Jones wrote:> Is this setup possible? I am converting an old server to look on LDAP for its > UNIX account info. I am able to auth in every way with a LDAP-only user > (login, telnet, ssh, su). However, after adding the user with smbpasswd -a, > the password doesn't work: > > [root@furnsrv log]# smbpasswd -a testuser > New SMB password: > Retype new SMB password: > Added user testuser. > [root@furnsrv log]# smbclient -L furnsrv -U testuser > Password: > session setup failed: NT_STATUS_LOGON_FAILURE > [root@furnsrv log]# su testuser > Password: > sh-2.05b$ > > Any help with this would be appreciated. I'm not ready to move the SAMBA side > of things over to LDAP just yet. > > Thanks, > Misty