]> source.dussan.org Git - nextcloud-server.git/commitdiff
make sure the shared ldap connection is rebound to the configured user after being...
authorDonald Buczek <buczek@molgen.mpg.de>
Fri, 18 Oct 2013 15:13:36 +0000 (17:13 +0200)
committerArthur Schiwon <blizzz@owncloud.com>
Fri, 25 Oct 2013 09:12:18 +0000 (11:12 +0200)
apps/user_ldap/lib/access.php

index 0d4b09bac7eb621490b57ac8f04718a4d434f2fb..97e44fdcb211b12e3af5eaec77993cdbd83bc4e6 100644 (file)
@@ -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;
        }
 
        /**