I have configured the smb to share a printer. When I try to query
my shared resources using smbclient in my localhost
smbclient -L localhost
added interface 123.223.160.23 bcast:123.223.160.50 nmask:255.255.255.0
password:
It asked for password, so I enterred my root password.
Then this error appeared.
sesssion status failed: NT_STATUS_LOGON_FAILURE
I checked my /var/log/samba/<hostname>.log
This was the entry
passdb/pdb_smb passwd.c

db_getsampwnam(1369)
unable to open passdb database
It seems there is an error in password handling.
Wht should I do?