Archived
1
0

Fix get_dn function

This commit is contained in:
Mercier Pierre-Olivier 2013-09-12 13:06:29 +02:00
parent 00c62bf8de
commit 745be49652

View File

@ -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; }