[Samba] build_sam_account: smbpasswd database is corrupt

Götz Reinicke - IT-Koordinator goetz.reinicke at filmakademie.de
Mon Oct 25 08:39:21 MDT 2010


I wanted to migrate my sambapasswd file to a ldap test system and
noticed, that I do get errors:

build_sam_account: smbpasswd database is corrupt ... username with uid
... is not in unix passwd database!

Importing/changing LDAP accounts fail after the last useraccount entry
in my sambapasswd file.

Is there a way to remove all accounts which are in the sambapasswdfile
but not in my /etc/passwdfile? Or is there a sort of 'skip on error'
option for 'pdbedit --import'?

Thanks a lot and best regards,

Götz Reinicke

Tel. +49 7141 969 420
Fax  +49 7141 969 55 420
E-Mail goetz.reinicke at filmakademie.de

Filmakademie Baden-Württemberg GmbH
Akademiehof 10
71638 Ludwigsburg

Eintragung Amtsgericht Stuttgart HRB 205016
Vorsitzende des Aufsichtsrats:
Prof. Dr. Claudia Hübner

Prof. Thomas Schadt
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

More information about the samba mailing list