[Samba] session setup failed: NT_STATUS_LOGON_FAILURE (debian wheezy)

abdulaziz.abajobir at ju.edu.et abdulaziz.abajobir at ju.edu.et
Sat Nov 14 16:31:10 UTC 2015


Hello everybody,

I am having trouble with samba ldap authentication

Here are some of the outputs...


root at samba:~# smbclient -L //localhost -U justin
Enter justin's password:
session setup failed: NT_STATUS_LOGON_FAILURE


Log out puts:

root at samba:~# tail /var/log/samba/log.smbd
[2015/11/14 09:02:16.560186,  0]  
passdb/lookup_sid.c:1684(get_primary_group_sid)
[2015/11/14 09:02:24.718482,  0]  
passdb/lookup_sid.c:1684(get_primary_group_sid)
[2015/11/14 09:02:24.733266,  0]  
passdb/lookup_sid.c:1684(get_primary_group_sid)
[2015/11/14 09:12:57.687424,  0] printing/print_cups.c:110(cups_connect)
   Unable to connect to CUPS server localhost:631 - Connection refused
[2015/11/14 09:12:57.689828,  0]  
printing/print_cups.c:487(cups_async_callback)
   failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL
[2015/11/14 09:22:16.989088,  0]  
passdb/lookup_sid.c:1684(get_primary_group_sid)
[2015/11/14 09:22:25.971359,  0]  
passdb/lookup_sid.c:1684(get_primary_group_sid)
[2015/11/14 09:22:38.188146,  0]  
passdb/lookup_sid.c:1684(get_primary_group_sid)


root at samba:~# tail /var/log/samba/log.nmbd
[2015/11/12 20:47:55,  0] nmbd/nmbd.c:66(terminate)
   Got SIGTERM: going down...
[2015/11/12 20:47:59,  0] nmbd/nmbd.c:861(main)
   nmbd version 3.6.6 started.
   Copyright Andrew Tridgell and the Samba Team 1992-2011
[2015/11/13 08:15:19,  0] nmbd/nmbd.c:66(terminate)
   Got SIGTERM: going down...
[2015/11/13 08:15:23,  0] nmbd/nmbd.c:861(main)
   nmbd version 3.6.6 started.
   Copyright Andrew Tridgell and the Samba Team 1992-2011

When i try to create user with smbpasswd and pdbedit i get the  
following errors:

root at samba:~# smbpasswd -a abdiii
New SMB password:
Retype new SMB password:

Use of qw(...) as parentheses is deprecated at  
/usr/share/perl5/smbldap_tools.pm line 1423, <DATA> line 558.
Failed to add entry for user abdiii.

Thank you



More information about the samba mailing list