projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c1e8c87
)
Set referrals (Request #8432).
author
Jan Schneider
<jan@horde.org>
Tue, 18 Aug 2009 13:45:09 +0000
(15:45 +0200)
committer
Jan Schneider
<jan@horde.org>
Tue, 18 Aug 2009 13:47:20 +0000
(15:47 +0200)
turba/lib/Driver/Ldap.php
patch
|
blob
|
history
diff --git
a/turba/lib/Driver/Ldap.php
b/turba/lib/Driver/Ldap.php
index
2a07d42
..
df15e1e
100644
(file)
--- a/
turba/lib/Driver/Ldap.php
+++ b/
turba/lib/Driver/Ldap.php
@@
-76,6
+76,11
@@
class Turba_Driver_Ldap extends Turba_Driver
@ldap_set_option($this->_ds, LDAP_OPT_DEREF, $this->_params['deref']);
}
+ /* Set the LDAP referrals. */
+ if (!empty($this->_params['referrals'])) {
+ @ldap_set_option($this->_ds, LDAP_OPT_REFERRALS, $this->_params['referrals']);
+ }
+
/* Start TLS if we're using it. */
if (!empty($this->_params['tls'])) {
if (!@ldap_start_tls($this->_ds)) {