[Samba] Domain Users and smbldap-useradd
Michael Gasch
gasch at eva.mpg.de
Mon Jul 4 14:01:56 GMT 2005
FYI: i had to change smbldap-tools a little bit
function "sub group_add_user" in smbldap-tools.pm
i used the scripts to vampire a NT PDC
all users were added to the group "Domain Users" although it's there
default group - thus i had 300 users in a group, which unecesarily took
resources
if ($is_member == 1) {
print "User \"$userid\" already member of the group
\"$group\".\n";
} else {
// new line
if ($dn ne "cn=Domain Users,dc=....") {
//go on
}
greez
--
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
More information about the samba
mailing list