[Samba] Bug in passdb data base code

Steve Bourne srbourne at gmail.com
Thu Nov 22 00:23:44 MST 2012


I hope this is not too wide a posting.

I appear to have a user that cannot be removed from the data base.  See
below.

I fixed it after erasing the database but it appears to be a bug.  I am not
sure how to post bugs

Steve


root at Sunretro:/etc/samba# smbpasswd -a srb
New SMB password:
Retype new SMB password:
Unable to modify TDB passwd: NT_STATUS_UNSUCCESSFUL!
Failed to add entry for user srb.
root at Sunretro:/etc/samba# pdbedit -Lv
---------------
Unix username:        srb
NT username:
Account Flags:        [U          ]
User SID:             S-1-5-21-978477888-3196194869-3012588170-501
Primary Group SID:    S-1-5-21-978477888-3196194869-3012588170-513
Full Name:            srb
Home Directory:
HomeDir Drive:        (null)
Logon Script:
Profile Path:
Domain:               SUNRETRO
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
---------------
Unix username:        fsclient
NT username:
Account Flags:        [U          ]
User SID:             S-1-5-21-978477888-3196194869-3012588170-1001
Primary Group SID:    S-1-5-21-978477888-3196194869-3012588170-513
Full Name:            fsclient,,,,
Home Directory:       \\sunretro\fsclient
HomeDir Drive:
Logon Script:
Profile Path:         \\sunretro\fsclient\profile
Domain:               SUNRETRO
Account desc:
Workstations:
Munged dial:
Logon time:           0
Logoff time:          never
Kickoff time:         never
Password last set:    Wed, 21 Nov 2012 22:26:19 PST
Password can change:  Wed, 21 Nov 2012 22:26:19 PST
Password must change: never
Last bad password   : 0
Bad password count  : 0
Logon hours         : FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
root at Sunretro:/etc/samba# pdbedit -x srb
user srb does not exist in the passdb
root at Sunretro:/etc/samba#


More information about the samba mailing list