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

Fixes #3236 No such object at /usr/sbin/fusiondirectory-setup line 819

parent 9703bfd1
......@@ -816,7 +816,6 @@ sub check_admin {
scope => 'base',
filter => "(objectClass=gosaAccount)"
);
$member_node->code && die $member_node->error;
if ($member_node->count == 1) {
print ("$dn is a valid admin\n");
return;
......@@ -828,7 +827,6 @@ sub check_admin {
filter => "(objectClass=posixGroup)",
attrs => ['memberUid']
);
$member_node->code && die $member_node->error;
if ($member_node->count == 1) {
# Find group members
my $member_entry = $member_node->shift_entry;
......
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