[Samba] problems with smbpasswd
ulairi at ulairi.org
Fri Apr 11 23:01:42 GMT 2003
Also, for the sheer fun of it, run ./smbpasswd with a -d 5 or something
like that. The debug messages may point out something that by default is
On Thu, 2003-04-10 at 22:01, John H Terpstra wrote:
> Find out what the correct path for your binary is by:
> strings /usr/bin/smbpasswd | grep smbpasswd
> if it is not there, then try:
> strings /usr/local/samba/bin/smbpasswd | grep smbpasswd
> It should tell you where it is trying to create the smbpasswd file.
> - John T.
> John H Terpstra
> Email: jht at samba.org
> I am having problems with smbpasswd. I am getting the following error:
> # smbpasswd -a dfrey
> New SMB password:
> Retype new SMB password:
> Failed to modify entry for user dfrey.
> Failed to modify password entry for user dfrey
> dfrey is a valid system user
> dfrey:x:1002:1002:David Frey,,,:/home/dfrey:/bin/bash
> I have searched google, but I haven't found an answer yet. The
> /etc/samba/smbpasswd file is empty. I created the file myself with
> touch. Running the command with no file there makes no difference.
> What can I try?
More information about the samba