Results 1 to 1 of 1
Hello, using linux mint 12. samba was originally configured with the gadmin app.
I logged on today, and noticed that there were 2x "samba" users in the list, so I ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 11-30-2012 #1Just Joined!
- Join Date
- Nov 2012
- Posts
- 1
Weird Samba user glitch? -Cannot remove a user that definitely appears
Hello, using linux mint 12. samba was originally configured with the gadmin app.
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:Interestingly, when you run pdbedit -Lw it shows this (looks like a blank hash) password: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
Running pdbedit -x -u samba yields this result:Code:samba:1002:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:[U ]:LCT-00000000:
Running pdbedit -a samba yields this result (after asking and confirming a password)Code:user samba does not exist in the passdb
Any idea how I can remove this user so I can actually configure it properly?Code:Unable to modify TDB passwd: NT_STATUS_UNSUCCESSFUL! Failed to add entry for user samba.
smb.conf: (without shares)
Code:[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


Reply With Quote
