[Samba] Using "pdbedit" to list users - inconsistent result?
Gaiseric Vandal
gaiseric.vandal at gmail.com
Tue Jun 29 06:40:42 MDT 2010
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
>
>
>
More information about the samba
mailing list