On Fri, Jan 20, 2012 at 02:01:29AM +1100, John Tate wrote: > When I used smbpasswd it gives me the following error... > root@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@hayek:~# cat /etc/samba/smbpasswd > # > # SMB password file. > # > nobody:65534:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:[U > ]:LCT-00000000:nobody > john:1000:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:[U > ]: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:[email protected] -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
