[Pkg-owncloud-commits] [owncloud] 32/145: Wizard: disable LDAP referrals, fixes #6670
David Prévot
taffit at moszumanska.debian.org
Wed Feb 26 16:27:40 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository owncloud.
commit acebc3f41ebc1ed0bb62ec8abc053a969dae0ed3
Author: Arthur Schiwon <blizzz at owncloud.com>
Date: Wed Feb 5 10:29:09 2014 +0100
Wizard: disable LDAP referrals, fixes #6670
---
apps/user_ldap/lib/wizard.php | 1 +
1 file changed, 1 insertion(+)
diff --git a/apps/user_ldap/lib/wizard.php b/apps/user_ldap/lib/wizard.php
index 30ce455..00623b7 100644
--- a/apps/user_ldap/lib/wizard.php
+++ b/apps/user_ldap/lib/wizard.php
@@ -1014,6 +1014,7 @@ class Wizard extends LDAPUtility {
$this->configuration->ldapPort);
$this->ldap->setOption($cr, LDAP_OPT_PROTOCOL_VERSION, 3);
+ $this->ldap->setOption($cr, LDAP_OPT_REFERRALS, 0);
$this->ldap->setOption($cr, LDAP_OPT_NETWORK_TIMEOUT, self::LDAP_NW_TIMEOUT);
if($this->configuration->ldapTLS === 1) {
$this->ldap->startTls($cr);
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git
More information about the Pkg-owncloud-commits
mailing list