[Samba] Unable to modify TDB passwd

Mark Adams mark at campbell-lange.net
Fri Dec 12 13:01:06 GMT 2008


I'm also seeing this issue with smbpasswd -a on samba 3.2.4-1, debian  
lenny.. However pdbedit -a -u username works for me.

smbpasswd works for changing the password after being added with pdbedit

Regards,
Mark

On 12 Dec 2008, at 01:04, Daniel Kauffman <daniel.kauffman at rocksolidsolutions.org 
 > wrote:

> 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
>
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/listinfo/samba


More information about the samba mailing list