smbpasswd apparently not writing to /etc/samba/ files

Anne Wilson cannewilson at googlemail.com
Wed Apr 16 14:50:17 UTC 2008


On Tuesday 15 April 2008 08:00:48 pm Jóhann B. Guðmundsson wrote:
> Anne Wilson wrote:
> > On Monday 14 April 2008 11:32:25 Adam Huffman wrote:
> >> On Sun, Apr 13, 2008 at 4:43 PM, Anne Wilson
> >> <cannewilson at googlemail.com>
> >
> > wrote:
> >>> Using smbpasswd -a anne does not add the user or write to the password
> >>> file. What am I missing?
> >>
> >> Yes, the newer versions use TDB.  pdbedit is the tool to query the
> >> database.
> >
> > On most previous versions I have been able to see the user added to
> > smbusers. Now there doesn't seem to be any visual check that it has
> > 'taken'.  Do I have to install webmin to see whether the user is
> > recognised?
> >
> > Anne
>
> pdbedit -w -L from cli should list those users for ya...
>
It did, indeed, thanks.

> You can also use system-config-samba ( gui )
> if you are doing this on a laptop/workstation/desktop machine..
>
> yum install system-config-samba if it's missing..
>
OK.  Thanks for the reply

Anne





More information about the test mailing list