You should use the LDAP access rights to do this. http://www.idealx.org/prj/samba/smbldap-howto.en.html read section 5 and section 11.1.1
good luck >-----Oorspronkelijk bericht----- >Van: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] >Namens Michael Gasch >Verzonden: vrijdag 29 juli 2005 14:15 >Aan: samba@lists.samba.org >Onderwerp: [Samba] How to prevent users from deleting users >from domain via usrmgr.exe ??? > >hi, > >weird thing: >i thought when commenting out "delete user script" and "ldap >delete dn" >nobody is able to delete users from the domain. > >what happens: users are deleted, to be more specific their samba >attributes are deleted but not their posix values. > >i won't let our admins delete users from our domain becaus we have >another management to add/delete users to/from a domain. > >adding does not work already because samba does not find posix account >information and add user script is set to "blank". > >i thought of setting delete user script to blank but samba >does not care >about that and deletes only samba attributes. > >to be clear: none of the attributes of a user should be removed!!! > >any help without patching the source? > >thx >-- >Michael Gasch >Max Planck Institute for Evolutionary Anthropology >Department of Human Evolution >Deutscher Platz 6 >D-04103 Leipzig >Germany > >Phone: 49 (0)341 - 3550 137 >-- >To unsubscribe from this list go to the following URL and read the >instructions: https://lists.samba.org/mailman/listinfo/samba > -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba