Apache::Session::LDAP was unusable with Session Explorer

This commit is contained in:
Xavier Guimard 2009-08-25 13:29:26 +00:00
parent 444e093004
commit 9e3b55b9ac

View File

@ -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 ) =