Fix get_dn function
This commit is contained in:
parent
00c62bf8de
commit
745be49652
@ -124,7 +124,7 @@ sub get_dn($$@)
|
||||
my $mesg = $ldap->search( # search
|
||||
base => "$dn",
|
||||
filter => "(objectClass=*)",
|
||||
attrs => @_,
|
||||
attrs => \@_,
|
||||
scope => "sub"
|
||||
);
|
||||
if ($mesg->code != 0) { log(WARN, $mesg->error); return undef; }
|
||||
|
Reference in New Issue
Block a user