diff options
author | Roger Szabo <roger.szabo@web.de> | 2018-04-27 17:29:15 +0800 |
---|---|---|
committer | Roger Szabo <roger.szabo@web.de> | 2018-04-27 17:29:15 +0800 |
commit | 8637b90e1514cc2fc03dad3d7eedd2e7da03df70 (patch) | |
tree | 7f8720a5902629d531db90126bcfbcc43c44ba61 /apps | |
parent | 7da1e968f96845c601b0e3ea52be083336bda814 (diff) | |
download | nextcloud-server-8637b90e1514cc2fc03dad3d7eedd2e7da03df70.tar.gz nextcloud-server-8637b90e1514cc2fc03dad3d7eedd2e7da03df70.zip |
unbound cloned connection fix
Signed-off-by: Roger Szabo <roger.szabo@web.de>
Diffstat (limited to 'apps')
-rw-r--r-- | apps/user_ldap/lib/Connection.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/user_ldap/lib/Connection.php b/apps/user_ldap/lib/Connection.php index a5bbc957ac9..e6a01a17d25 100644 --- a/apps/user_ldap/lib/Connection.php +++ b/apps/user_ldap/lib/Connection.php @@ -126,6 +126,9 @@ class Connection extends LDAPUtility { public function __clone() { $this->configuration = new Configuration($this->configPrefix, !is_null($this->configID)); + if(count($this->bindResult) !== 0 && $this->bindResult['result'] === true) { + $this->bindResult = []; + } $this->ldapConnectionRes = null; $this->dontDestruct = true; } |