[Samba] Re: pam_ldap for unix accounts, smbpassword for samba?

Igor Belyi sambauser at katehok.ac93.org
Thu Oct 28 18:13:15 GMT 2004


Can you list shares as a guest - without -U option and with empty 
password? Does your Samba listen on 'lo' interface?

Igor

Misty Stanley-Jones wrote:
> On Thursday 28 October 2004 11:33, Igor Belyi wrote:
> 
>>What error do you see in smbd log? Did you try to add "-W <domain name>"
>>to  smbclient command?
> 
> 
> This is the error message:
> [2004/10/28 10:39:13, 0] lib/util_sock.c:get_peer_addr(1000)
>   getpeername failed. Error was Transport endpoint is not connected
> 
> Same behavior with or without the -W parameter.  This is a completely 
> different Samba server than the other one I have been setting up.  This one 
> is Samba 3.0.6, not sure if it matters.
> 
> Misty
> 
> 
>>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 at furnsrv log]# smbpasswd -a testuser
>>>New SMB password:
>>>Retype new SMB password:
>>>Added user testuser.
>>>[root at furnsrv log]# smbclient -L furnsrv -U testuser
>>>Password:
>>>session setup failed: NT_STATUS_LOGON_FAILURE
>>>[root at 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



More information about the samba mailing list