Re: [Samba] smbpasswd not working
On Fri, Jan 20, 2012 at 2:15 AM, Helmut Hullen wrote: > Hallo, John, > > Du meintest am 20.01.12: > > > 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::XXX > > X:[U ]:LCT-:nobody > > john:1000::XX > > XX:[U ]:LCT-: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 > > root@hayek:~# testparm -sv 2>/dev/null | grep backend > passdb backend = tdbsam > idmap backend = tdb > idmap config * : backend = tdb > > Yeah I'm using a different backend to what I thought. I've actually not configured samba on Linux in a long time. Some things have changed it seems I'll just have to catch up on the docs. I know what area I'm wrong in now so thanks. > Viele Gruesse! > Helmut > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba > -- www.johntate.org -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] smbpasswd not working
Hallo, John, Du meintest am 20.01.12: > 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::XXX > X:[U ]:LCT-:nobody > john:1000::XX > XX:[U ]:LCT-: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 -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] smbpasswd not working
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:::[U > ]:LCT-:nobody > john:1000:::[U > ]:LCT-: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-37-0, fax: +49-551-37-9 AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen http://www.sernet.de, mailto:kont...@sernet.de -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] smbpasswd not working
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:::[U ]:LCT-:nobody john:1000:::[U ]:LCT-:John Tate,,, I do not understand what is going on. I really need to get this working. John Tate -- www.johntate.org -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba