[Samba] build_sam_account: smbpasswd database is corrupt! affecting samba group mapping?

Michael Billerbeck billerbeck at adesso.de
Tue Nov 22 17:06:02 GMT 2005


Hi,

when using

pdbedit -L <user>

we get an error

> build_sam_account: smbpasswd database is corrupt!  username <user> with
uid <uid> is not in unix passwd database!
> Username not found!

This is because a user is not - as it says - in e.g. /etc/passwd.

Does this affect the functionality of group mappings in the way that this
doesn't work with the mapped unixgroup
and in which the user is in?:

For example: If you do a group mapping like
> net groupmap modify ntgroup="Domain Users" unixgroup="users"

so you cannot see the group "Domain Users" when browsing the domain because
of that corruption mentioned in the error message?
We use tdbsam as passdb.

regards,
Michael



More information about the samba mailing list