From 3fc232370e00df1d39638697daf8e8c1af8fe8dc Mon Sep 17 00:00:00 2001 From: Donald Buczek <buczek@molgen.mpg.de> Date: Fri, 18 Oct 2013 17:13:36 +0200 Subject: [PATCH] make sure the shared ldap connection is rebound to the configured user after being used for password checking. --- apps/user_ldap/lib/access.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/user_ldap/lib/access.php b/apps/user_ldap/lib/access.php index 0d4b09bac7..97e44fdcb2 100644 --- a/apps/user_ldap/lib/access.php +++ b/apps/user_ldap/lib/access.php @@ -898,7 +898,9 @@ class Access extends LDAPUtility { if(!$testConnection->setConfiguration($credentials)) { return false; } - return $testConnection->bind(); + $result=$testConnection->bind(); + $this->connection->bind(); + return $result; } /** -- GitLab