Unable to modify TDB passwd in SAMBA

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:
##############################################
##############################################
##############################################

check the user is exists in database or not ...

The user does not exist in the Samba database:

# pdbedit -L -u guest

if it show "not present" then check the responsible file for User aadministration and reset it.

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.


Thanks
Pritam

1 comment:

  1. I didn't know it but the name "Linux" comes from the Linux kernel, originally written in 1991 by Linus Torvalds, I've read this from a similar blogger but you've got enough useful information and you must keep up with this project. 23jj

    ReplyDelete

Thank You for your Comments, We will read and response you soon...