From: Gaiseric Vandal on
Is this for all users or just some users?

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

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




On 06/29/2010 06:06 AM, Alastair Sherringham wrote:
> Hello,
>
> I am using Samba on Debian 5.0 (Lenny) - Samba version 3.2.5. The
> smb.conf defines the user database in the standard way :
>
> passdb backend = tdbsam:/etc/samba/private/passdb.tdb
>
> If I use pdbedit to list all users in the user database, user "drew"
> does not appear :
>
> # pdbedit -L|grep drew
> #
>
> If I query user drew on the pdbedit command-line, he appears :
>
> # pdbedit drew
> drew:1054:Drew Smith,,,
> #
>
> Why is there this discrepancy and is it a problem?
>
> Cheers,
>
> Alastair
>
>
>

--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
From: Alastair Sherringham on
On 29 June 2010 13:40, Gaiseric Vandal <gaiseric.vandal(a)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
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba