samba password create error after user has been deleted
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
samba (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: samba
I think I have found a problem with deleting users in samba/ubuntu. It seems it 'corrupts' the password file.
Here is a summary :
* I create a unix user called test1
* I create a samba user called test1
(both these commands work fine and i can create as many as i want)
* I delete the samba user
* I delete the unix user
(both these commands work fine)
* I create a unix user called test2
(this command works fine)
* I create a samba user called test2
(This command fails with this error:
Unable to modify TDB passwd: NT_STATUS_
Failed to add entry for user test2.
Failed to modify password entry for user test2 )
It seems that as soon as I delete the unix user, I can't write the tdb passwords anymore. You should be able to delete and create users at will.
Another note, is if I remove samba and reinstall it. I still can't create any samba users. BUT, if i uninstall samba, remove all the files in /var/lib/samba/ and reinstall, I can start the above process again.
I have attached a text file will all the commands that I run and their results.
System :
Ubuntu 8.10
Linux series 2.6.27-7-server
Samba: Installed: 2:3.2.3-1ubuntu3.4
Could you please attach your samba log files when doing this?
Thanks
chuck