Results 1 to 1 of 1
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Nov 2012
Weird Samba user glitch? -Cannot remove a user that definitely appears
I logged on today, and noticed that there were 2x "samba" users in the list, so I deleted one..
Now, the one that is left... the password cannot be changed, (although the gadmin app doesn't notify of failure), and users cannot log in with the samba account.
At this point I stopped using the gadmin applet.
Now, using pdbedit -Lv shows this for samba:Code:
--------------- Unix username: samba NT username: Account Flags: [U ] User SID: S-1-5-21-1787190218-2025653600-1497103768-501 Primary Group SID: S-1-5-21-1787190218-2025653600-1497103768-513 Full Name: Home Directory: HomeDir Drive: (null) Logon Script: Profile Path: Domain: HOTSHOT-X11 Account desc: Workstations: Munged dial: Logon time: 0 Logoff time: never Kickoff time: never Password last set: 0 Password can change: 0 Password must change: 0 Last bad password : 0 Bad password count : 0 Logon hours : FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
user samba does not exist in the passdb
Unable to modify TDB passwd: NT_STATUS_UNSUCCESSFUL! Failed to add entry for user samba.
smb.conf: (without shares)
[global] server string = %h server (Samba, LinuxMint) map to guest = Bad User obey pam restrictions = Yes guest account = samba pam password change = Yes passwd program = /usr/bin/passwd %u passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* . username map = /etc/samba/smbusers unix password sync = Yes syslog = 0 log file = /var/log/samba/log.%m max log size = 1000 dns proxy = No usershare allow guests = Yes panic action = /usr/share/samba/panic-action %d guest ok = Yes