diff options
author | Donald Buczek <buczek@molgen.mpg.de> | 2013-10-18 17:13:36 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@owncloud.com> | 2013-10-25 11:12:18 +0200 |
commit | 3fc232370e00df1d39638697daf8e8c1af8fe8dc (patch) | |
tree | 9a01be4058d13ec9c2bb0963c92c19988f82b240 /apps | |
parent | 5fd1f552a3de82c17f2ced20334888516d3fb9b7 (diff) | |
download | nextcloud-server-3fc232370e00df1d39638697daf8e8c1af8fe8dc.tar.gz nextcloud-server-3fc232370e00df1d39638697daf8e8c1af8fe8dc.zip |
make sure the shared ldap connection is rebound to the configured user after being used for password checking.
Diffstat (limited to 'apps')
-rw-r--r-- | apps/user_ldap/lib/access.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/user_ldap/lib/access.php b/apps/user_ldap/lib/access.php index 0d4b09bac7e..97e44fdcb21 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; } /** |