summaryrefslogtreecommitdiff
path: root/program/include/rcube_ldap.php
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2011-11-05 11:42:47 +0000
committerthomascube <thomas@roundcube.net>2011-11-05 11:42:47 +0000
commit69cb80b0594add4d18f8de6b5c676f1dc4d0a835 (patch)
treebf0ea010a9ffcb8ce6d74e3d8ad5e22630b8182c /program/include/rcube_ldap.php
parent2573a872c42b5bb76ae30fd99efd2dac7809ca8d (diff)
Backported r5392 to release branch
Diffstat (limited to 'program/include/rcube_ldap.php')
-rw-r--r--program/include/rcube_ldap.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/program/include/rcube_ldap.php b/program/include/rcube_ldap.php
index 83293157e..e20c8b430 100644
--- a/program/include/rcube_ldap.php
+++ b/program/include/rcube_ldap.php
@@ -181,6 +181,9 @@ class rcube_ldap extends rcube_addressbook
ldap_set_option($lc, LDAP_OPT_PROTOCOL_VERSION, $this->prop['ldap_version']);
$this->prop['host'] = $host;
$this->conn = $lc;
+
+ if (isset($this->prop['referrals']))
+ ldap_set_option($lc, LDAP_OPT_REFERRALS, $this->prop['referrals']);
break;
}
$this->_debug("S: NOT OK");