[horde] composite authentication and ldap
Laurent Foucher
laurent.foucher at iut-tlse3.fr
Mon Apr 25 17:05:16 UTC 2011
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.
Any idea ?
Thank for your answers.
--
- Laurent Foucher
< I U T 'A' Paul Sabatier >
laurent.foucher at iut-tlse3.fr
Enseignant/Chargé de mission Systèmes & Réseau
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-keys
Size: 1703 bytes
Desc: Cl? publique PGP
URL: <http://lists.horde.org/archives/horde/attachments/20110425/f56a44ed/attachment-0001.bin>
More information about the horde
mailing list