Commit e51cbc5a authored by Côme Bernigaud's avatar Côme Bernigaud Committed by Benoit Mortier
Browse files

Fixes #3236 Fixed yet another error in check-ldap

parent bbbef09f
......@@ -923,10 +923,8 @@ sub check_ldap {
# if user's answer is "yes", creating ou=people branch
if ( ask_yn_question("Do you want to create it ?: ") ) {
create_branch($ldap, $base, $oupeople);
$admin_add = add_ldap_admin($base, $ldap);
push @people_entries, "$peopleou,$base";
check_admin($base, $ldap, \@people_entries);
return -1 if ($admin_add eq "-1");
} else {
print ("Skiping...\n");
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment