Projects
Kolab:16
roundcubemail-plugins-kolab
T1521_ldap_close.patch
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File T1521_ldap_close.patch of Package roundcubemail-plugins-kolab (Revision 2)
Currently displaying revision
2
,
Show latest
From cbf4fa90d63b255359ba15974637e8a26604a9c7 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak <machniak@kolabsys.com> Date: Wed, 21 Sep 2016 11:13:31 -0400 Subject: T1521: kolab_auth: Add possibility to close LDAP connection on request --- plugins/kolab_auth/kolab_auth.php | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/plugins/kolab_auth/kolab_auth.php b/plugins/kolab_auth/kolab_auth.php index e223adb..fadd3d2 100644 --- a/plugins/kolab_auth/kolab_auth.php +++ b/plugins/kolab_auth/kolab_auth.php @@ -769,6 +769,17 @@ class kolab_auth extends rcube_plugin } /** + * Close LDAP connection + */ + public static function ldap_close() + { + if (self::$ldap) { + self::$ldap->close(); + self::$ldap = null; + } + } + + /** * Parses LDAP DN string with replacing supported variables. * See kolab_auth_ldap::parse_vars() * -- cgit v0.12
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.