[Samba] smbpasswd not working

Helmut Hullen Hullen at t-online.de
Thu Jan 19 08:15:00 MST 2012


Hallo, John,

Du meintest am 20.01.12:

> root at hayek:~# smbpasswd john
> New SMB password:
> Retype new SMB password:
> Failed to find entry for user john.

> This is despite the existence of the user
> root at hayek:~# cat /etc/samba/smbpasswd
> #
> # SMB password file.
> #
> nobody:65534:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:XXXXXXXXXXXXXXXXXXXXXXX
> XXXXXXXXX:[U ]:LCT-00000000:nobody
> john:1000:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:XXXXXXXXXXXXXXXXXXXXXXXXXX
> XXXXXX:[U ]:LCT-00000000:John Tate,,,

Tells

        pdbedit -Lw -u john

the same contents?
And - please - don't show this contents (at least the unchanged  
contents); it's very simple to restore the original password from this  
contents.

Additional (related to Volkers answer): what tells

        testparm -sv 2>/dev/null | grep backend

Viele Gruesse!
Helmut


More information about the samba mailing list