[horde] Horde 5 - LDap binddn not being used?

James B. MacLean macleajb at ednet.ns.ca
Mon Feb 11 22:08:58 UTC 2013


On 2013-02-11 12:52 PM, James MacLean wrote:
> Hi folks,
>
> /usr/share/pear/Horde/Ldap.php in
>
> public function bind()
>
> The DN is either blank, or current user. Should it not be getting 
> passed the binddn when it searches for users?
>
> I do not see that happening here with the following type of 
> horde/config/conf.php values:
>
> $conf['ldap']['hostspec'] = 'myhost.net';
> $conf['ldap']['port'] = 399;
> $conf['ldap']['tls'] = false;
> $conf['ldap']['version'] = 3;
> $conf['ldap']['user']['binddn'] = 'uid=headdude,ou=special 
> users,dc=test';
> $conf['ldap']['user']['bindpw'] = 'Something';
> $conf['ldap']['user']['uid'] = 'cn';
> $conf['ldap']['user']['filter'] = 'objectClass=person';
> $conf['ldap']['user']['filter_type'] = 'filter';
> $conf['ldap']['bindas'] = 'user';
> $conf['ldap']['useldap'] = true;
>
> thanks,
> JES
Getting a bit further by using the following modifications to the 
created conf.php :

$conf['ldap']['binddn'] = 'uid=headdude,ou=special users,dc=test';
$conf['ldap']['bindpw'] = 'Something';

At least now it appears to be using the bind info by leaving out the 
['user'] part.

Still appears to be searching anonymously though :(.

JES


More information about the horde mailing list