[Samba] Using "pdbedit" to list users - inconsistent result?

Alastair Sherringham sherringham at gmail.com
Tue Jun 29 07:01:22 MDT 2010


On 29 June 2010 13:40, Gaiseric Vandal <gaiseric.vandal at gmail.com> wrote:
> Is this for all users or just some users?

Just one user (out of ~15).

> If for some users and not others, does "pdbedit -Lv someuser" show anything
> different?

Nothing much different at all (except obvious, user name, id, home etc.)

> What happens if you delete and recreate a samba account
>    e.g.
>    smbpasswd -x drew
>    smbpasswd -a drew

I have not tried that yet, I was a little worried about breaking something.

I found this "problem" when listing users & grep'ing for Drew, seeing
he was not there and trying to make the account - and getting an error
("Unable to add user! (does it already exist?)"). I'll probably try
the delete and re-create shortly.

Cheers,


-- 
Alastair Sherringham
http://www.sherringham.net


More information about the samba mailing list