Ok, that seems just to work if u have the given accounts on your linux box, otherwise I get this error message: build_sam_account: smbpasswd database is corrupt! username sascha with uid 501 is not in unix passwd database! If sascha is a linux user account pdbedit will import it in ldap... Maybe I missed a flag!?! Greetings Sascha