[horde] Problems authenticating with LDAP
Nicolas Fo
nicolasfo at ymail.com
Thu Sep 20 14:37:43 UTC 2012
Le 20/09/2012 14:27, Nicolas Fo a écrit :
> Hello everyone !
>
> I've just installed horde.
>
> My configuration :
> - Debian 6.0.5 x86
> - Installed Horde using PEAR (and all dependancies)
> - Windows server 2008 R2
>
> I'd like to authenticate with my LDAP server (AD). When I configure
> everything in administration page, then I generate the conf.php file,
> I must be redirected to the login page, but I've a blank page instead.
> When I try an authentication with htaccess (for example) it works fine
> (I know there's nothing in common).
>
> I created an user named "horde" in the OU named "testhorde".
>
> So, here's my configuration :
> $conf['auth']['params']['hostspec'] = 'IP_OF_AD_SERVER';
> $conf['auth']['params']['tls'] = false;
> $conf['auth']['params']['version'] = 3;
> $conf['auth']['params']['binddn'] = 'dn=horde'; (don't works with
> "horde", "horde at mydomain.fr)
> $conf['auth']['params']['bindpw'] = 'password_horde_user';
> $conf['auth']['params']['bindas'] = 'admin';
> $conf['auth']['params']['basedn'] =
> 'ou=testhorde.fr,dc=mydmain,dc=fr'; (don't works with "dc=mydmain,dc=fr")
> $conf['auth']['params']['scope'] = 'sub';
> $conf['auth']['params']['ad'] = true;
> $conf['auth']['params']['uid'] = ' samaccountname';
> $conf['auth']['params']['encryption'] = 'crypt-des';
> $conf['auth']['params']['newuser_objectclass'] =
> array('shadowAccount', 'inetOrgPerson');
> $conf['auth']['params']['filter'] = '(objectclass=user)';
> $conf['auth']['params']['password_expiration'] = 'no';
> $conf['auth']['params']['driverconfig'] = 'custom';
> $conf['auth']['driver'] = 'ldap';
> $conf['auth']['params']['count_bad_logins'] = false;
> $conf['auth']['params']['login_block'] = false;
> $conf['auth']['params']['login_block_count'] = 5;
> $conf['auth']['params']['login_block_time'] = 5;
>
> Nothing in the log, even in "debug" mode, look like "frozen" when
> conf.php is generated... don't understand...
>
> Any have an idea ?
>
> Thanks a lot
>
> Nicolas
I reinstalled horde_ldap using pear and it (seems) works now.
Apologies
Nicolas
More information about the horde
mailing list