[horde] Disable referrals on Horde ldap driver.

Jan Schneider jan at horde.org
Mon Jun 29 10:15:21 UTC 2015


Zitat von Daniel Carrasco Marín <d.carrasco at ttu.es>:

> Hi, first of all i'm sorry for my english.
>
> I'm trying to connect the Horde Application to a ldap server, but  
> i'm getting problems searching on ldap root.
> If I use a OU in BaseDN it works perfect, but if not it fails.
>
> I've read that maybe the problem is because I've another AD as  
> trusted domain, and a solution is to add "ldap_set_option($ldap,  
> LDAP_OPT_REFERRALS, 0);" to the PHP script.
> I've tried the equivalent on a python script with the same behavior  
> and it worked then my question is: How I can do the same in Horde App?
>
> Thanks and greetings!!

Try setting

$conf['ldap']['options']['LDAP_OPT_REFERRALS'] = 0;

in config/conf.php below the marker line.


-- 
Jan Schneider
The Horde Project
http://www.horde.org/



More information about the horde mailing list