[horde] composite authentication and ldap
Jan Schneider
jan at horde.org
Tue Apr 26 10:05:03 UTC 2011
Zitat von Laurent Foucher <laurent.foucher at iut-tlse3.fr>:
> Hi,
>
> I would like to use this configuration using composite authentication :
>
> $conf['auth']['driver'] = 'composite';
> $conf['auth']['params']['admin_driver']['driver'] = 'ldap';
> $conf['auth']['params']['admin_driver']['params'] = array(
> 'hostspec' => '10.0.0.1',
> 'binddn' => 'cn=horde_user,dc=yyyyyy,dc=fr',
> 'bindpw' => 'xxxxxxx',
> 'bindas' => 'admin',
> 'basedn' => 'dc=yyyyyy,dc=fr',
> 'scope' => 'sub',
> 'ad' => false,
> 'uid' => 'uid',
> 'encryption' => 'md5-hex',
> 'newuser_objectclass' => array('shadowAccount', 'inetOrgPerson'),
> 'filter' => '(objectclass=shadowAccount)',
> 'password_expiration' => 'no',
> 'driverconfig' => 'custom'
> );
> $conf['auth']['params']['auth_driver']['driver'] = 'application';
> $conf['auth']['params']['auth_driver']['params'] = array(
> 'app' => 'imp');
>
> I have the following error :
>
> HORDE Bind failed: Can't contact LDAP server [pid 12279 on line 243
> of "/usr/share/php/Horde/Ldap.php"]
>
> When i set the hotspec with 10.0.0.1 in the file
> /usr/share/php/Horde/Ldap.php, all works fine.
What *is* the hostspec if you don't set it manually?
Jan.
--
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/
More information about the horde
mailing list