Apache::Session::LDAP was unusable with Session Explorer
This commit is contained in:
parent
444e093004
commit
9e3b55b9ac
|
@ -157,14 +157,14 @@ BEGIN {
|
|||
my $args = shift;
|
||||
my $data = shift;
|
||||
|
||||
my $ldap = Apache::Session::LDAP::Store::ldap( { args => $args } );
|
||||
my $ldap = Apache::Session::Store::LDAP::ldap( { args => $args } );
|
||||
my $msg = $ldap->search(
|
||||
base => $args->{ldapConfBase},
|
||||
filter => '(objectClass=applicationProcess)',
|
||||
scope => 'base',
|
||||
attrs => [ 'cn', 'description' ],
|
||||
);
|
||||
Apache::Session::LDAP::Store->($msg) if ( $msg->code );
|
||||
Apache::Session::Store::LDAP->logError($msg) if ( $msg->code );
|
||||
my %res;
|
||||
foreach my $entry ( $msg->entries ) {
|
||||
my ( $k, $v ) =
|
||||
|
|
Loading…
Reference in New Issue
Block a user