[Samba] smbpasswd not working

John Tate john at johntate.org
Thu Jan 19 17:48:07 MST 2012


On Fri, Jan 20, 2012 at 2:15 AM, Helmut Hullen <Hullen at t-online.de> wrote:

> 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
>


> root at 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


More information about the samba mailing list