[Samba] Unable to modify TDB passwd

Daniel Kauffman daniel.kauffman at rocksolidsolutions.org
Fri Dec 12 01:04:45 GMT 2008


Hi,

I'm having difficulty creating new user accounts.

Attempting to create a new user account using smbpasswd fails, as follows:

#smbpasswd -a guest

New SMB password:
Retype new SMB password:
Unable to modify TDB passwd: NT_STATUS_UNSUCCESSFUL!
Failed to add entry for user guest.
Failed to modify password entry for user guest


Attempting to create a new user account using pdbedit fails, as follows:

# pdbedit -a -u guest

new password:
retype new password:
Unable to modify TDB passwd: NT_STATUS_UNSUCCESSFUL!
Unable to add user! (does it already exist?)


The user does not exist in the Samba database:

# pdbedit -L -u guest
Username not found!


The unix account exists:

# cat /etc/passwd | grep 'guest'
guest:x:1059:1061::/var/empty:/bin/false

# cat /etc/group | grep 'guest'
guest:x:1061:


Versions:

# smbd -V
Version 3.2.3

# uname -srmo
Linux 2.6.27-7-server x86_64 GNU/Linux


All commands are run as root on the Samba PDC.

Any suggestions?

Thanks!

Daniel Kauffman



More information about the samba mailing list