Thanks a lot Michael, I will study your script. There are many interesting themes inside. Thanks for your help. I have also integrated an openldap server with samba. There will be some more difficults with ACL rigths using net rpc. Andreas