Commit 9915cecc authored by Clément OUDOT's avatar Clément OUDOT

Call disconnect in sub _LDAPGKFAS (#LEMONLDAP-991)

git-svn-id: svn://svn.forge.objectweb.org/svnroot/lemonldap/branches/lemonldap-ng_version_1_4-bugfixes@4988 1dbb9719-a921-0410-b57f-c3a383c2c641
parent d0bfa8a5
......@@ -14,7 +14,7 @@ use base qw(Apache::Session);
use Lemonldap::NG::Common::Apache::Session::Store;
use Lemonldap::NG::Common::Apache::Session::Lock;
our $VERSION = '1.4.0';
our $VERSION = '1.4.8';
sub _load {
my $backend = shift;
......@@ -321,6 +321,8 @@ sub _LDAPGKFAS {
filter => '(objectClass=applicationProcess)',
attrs => [ 'cn', 'description' ],
);
$ldap->unbind();
$ldap->disconect();
Apache::Session::Store::LDAP->logError($msg) if ( $msg->code );
my %res;
foreach my $entry ( $msg->entries ) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment