diff options
| author | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2011-11-05 11:34:53 +0000 |
|---|---|---|
| committer | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2011-11-05 11:34:53 +0000 |
| commit | 8ffa9922f2757230239118d0cdafb6782874885e (patch) | |
| tree | 6b913f087ed04307beac749a2bd6e81d64583d4b /roundcubemail/program/include/rcube_ldap.php | |
| parent | 7a9c52ae56da365213ff7a10b1bd384d3d5a42e5 (diff) | |
Added config property to set LDAP_OPT_REFERRALS option to an LDAP connection
git-svn-id: https://svn.roundcube.net/trunk@5392 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/include/rcube_ldap.php')
| -rw-r--r-- | roundcubemail/program/include/rcube_ldap.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/roundcubemail/program/include/rcube_ldap.php b/roundcubemail/program/include/rcube_ldap.php index a81632545..ab891e3ea 100644 --- a/roundcubemail/program/include/rcube_ldap.php +++ b/roundcubemail/program/include/rcube_ldap.php @@ -189,6 +189,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"); |
