diff options
author | Thomas Bruederli <thomas@roundcube.net> | 2014-05-12 17:05:53 +0200 |
---|---|---|
committer | Thomas Bruederli <thomas@roundcube.net> | 2014-05-12 17:05:53 +0200 |
commit | b693dcf4e3981425df7b3cda504cab3966d32ebe (patch) | |
tree | cb05dec92cedb623a9737aa6290fd324b01e4d3a /program/lib | |
parent | 5983ba959db52d232a074414cbb781a784ca916f (diff) | |
parent | 618318ba036f083071182e49170abd1b96dd8ba8 (diff) |
Merge branch 'master' of github.com:roundcube/roundcubemail
Diffstat (limited to 'program/lib')
-rw-r--r-- | program/lib/Roundcube/rcube_ldap_generic.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/program/lib/Roundcube/rcube_ldap_generic.php b/program/lib/Roundcube/rcube_ldap_generic.php index f1048ef39..f6f9884d8 100644 --- a/program/lib/Roundcube/rcube_ldap_generic.php +++ b/program/lib/Roundcube/rcube_ldap_generic.php @@ -190,6 +190,9 @@ class rcube_ldap_generic if (isset($this->config['referrals'])) ldap_set_option($lc, LDAP_OPT_REFERRALS, $this->config['referrals']); + + if (isset($this->config['dereference'])) + ldap_set_option($lc, LDAP_OPT_DEREF, $this->config['dereference']); } else { $this->_debug("S: NOT OK"); |