[Samba] smbpasswd not working

Volker Lendecke Volker.Lendecke at SerNet.DE
Thu Jan 19 08:08:06 MST 2012

On Fri, Jan 20, 2012 at 02:01:29AM +1100, John Tate wrote:
> When I used smbpasswd it gives me the following error...
> 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.
> #
> ]:LCT-00000000:nobody
> ]:LCT-00000000:John Tate,,,
> I do not understand what is going on. I really need to get this working.

You might be running with "passdb backend = tdbsam" (the
default right now). In that case, the smbpasswd file is no
longer used. It's replaced by a file called passdb.tdb.

With best regards,

Volker Lendecke

SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kontakt at sernet.de

More information about the samba mailing list