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
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Reply via email to