Alastair Sherringham
2010-Jun-29 10:06 UTC
[Samba] Using "pdbedit" to list users - inconsistent result?
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 -- Alastair Sherringham http://www.sherringham.net
Gaiseric Vandal
2010-Jun-29 12:40 UTC
[Samba] Using "pdbedit" to list users - inconsistent result?
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
>
>
>