[Samba] build_sam_account: smbpasswd database is corrupt

2010-10-25 Thread Götz Reinicke - IT-Koordinator
Hi,

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
-- 
Götz Reinicke
IT-Koordinator

Tel. +49 7141 969 420
Fax  +49 7141 969 55 420
E-Mail goetz.reini...@filmakademie.de

Filmakademie Baden-Württemberg GmbH
Akademiehof 10
71638 Ludwigsburg
www.filmakademie.de

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

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

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

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

2005-12-01 Thread Michael Billerbeck


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

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


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

2005-11-22 Thread Michael Billerbeck

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

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba