LDAP login fix (Daniel Tuecks)
This commit is contained in:
@@ -22,6 +22,7 @@
|
|||||||
* Set of Port Name (description) fixed to assume OK dialog response
|
* Set of Port Name (description) fixed to assume OK dialog response
|
||||||
* Default class of a PoE port is 0 if not otherwise defined
|
* Default class of a PoE port is 0 if not otherwise defined
|
||||||
* Don't try to convert negative mW to dBm in AP power report
|
* Don't try to convert negative mW to dBm in AP power report
|
||||||
|
* LDAP login fix (Daniel Tuecks)
|
||||||
|
|
||||||
2.019003 - 2013-10-27
|
2.019003 - 2013-10-27
|
||||||
|
|
||||||
|
|||||||
@@ -133,7 +133,7 @@ sub _ldap_search {
|
|||||||
return undef unless defined($filter);
|
return undef unless defined($filter);
|
||||||
return undef if (defined $attrs and ref [] ne ref $attrs);
|
return undef if (defined $attrs and ref [] ne ref $attrs);
|
||||||
|
|
||||||
foreach my $server (@{$conf->{server}}) {
|
foreach my $server (@{$conf->{servers}}) {
|
||||||
my $opts = $conf->{opts} || {};
|
my $opts = $conf->{opts} || {};
|
||||||
my $ldap = Net::LDAP->new($server, %$opts) or next;
|
my $ldap = Net::LDAP->new($server, %$opts) or next;
|
||||||
my $msg = undef;
|
my $msg = undef;
|
||||||
|
|||||||
Reference in New Issue
Block a user