[horde] Composite Authentication

Laurent Foucher laurent.foucher at iut-tlse3.fr
Fri Oct 18 08:29:20 UTC 2013


Hello,

I'm trying to configure the composite authentication, using shibolleth  
as auth driver and ldap as admin driver. Here my config :

$conf['auth']['driver'] = 'composite';
$conf['auth']['params']['admin_driver']['driver'] = 'ldap';
$conf['auth']['params']['admin_driver']['params'] = array(
   'hostspec' => 'XX.XX.XX.XX',
   'tls' => false,
   'version' => '3',
   'binddn' => 'XXXXXXXX,dc=iut-tlse3,dc=fr',
   'bindpw' => 'XXXXXXXX',
   'bindas' => 'admin',
   'basedn' => 'ou=People,dc=iut-tlse3,dc=fr',
   'scope' => 'one',
   'ad' => false,
   'uid' => 'uid',
   'encryption' => 'ssha',
   'newuser_objectclass' => array('shadowAccount', 'inetOrgPerson'),
   'filter' => '(objectclass=shadowAccount)',
   'password_expiration' => 'no'
);
$conf['auth']['params']['auth_driver']['driver'] = 'shibboleth';
$conf['auth']['params']['auth_driver']['params'] = array(
   'username_header' => 'HTTP_AUTH_USER',
   'password_header' => 'HTTP_AUTH_PASSWORD',
   'password_holder' => 'header'
);

Authentication works fine with shibolleth and ldap, but not with  
composite driver.
Here the logs i have :

HORDE5: [imp] Hook prefs_init in application horde called. [pid 24906  
on line 1141 of "/var/www/horde5/pear/php/Horde.php"]
HORDE5: [imp] Load config file (prefs.php; app: imp) [pid 24906 on  
line 409 of "/var/www/horde5/pear/php/Horde.php"]
HORDE5: [imp] Load config file (backends.php; app: imp) [pid 24906 on  
line 409 of "/var/www/horde5/pear/php/Horde.php"]
HORDE5: [horde] Max memory usage: 17563648 bytes [pid 24906 on line  
566 of "/var/www/horde5/pear/php/Horde/Registry.php"]
HORDE5: Load config file (conf.php; app: horde) [pid 24906 on line 409  
of "/var/www/horde5/pear/php/Horde.php"]
HORDE5: Load config file (hooks.php; app: horde) [pid 24906 on line  
409 of "/var/www/horde5/pear/php/Horde.php"]
HORDE5: Setting sam inactive because the fileroot does not exist or  
the application is not configured yet. [pid 24906 on line 706 of  
"/var/www/horde5/pear/php/Horde/Registry.php"]
HORDE5: Setting mnemo inactive because the fileroot does not exist or  
the application is not configured yet. [pid 24906 on line 706 of  
"/var/www/horde5/pear/php/Horde/Registry.php"]
HORDE5: Setting trean inactive because the fileroot does not exist or  
the application is not configured yet. [pid 24906 on line 706 of  
"/var/www/horde5/pear/php/Horde/Registry.php"]
HORDE5: Setting ansel inactive because the fileroot does not exist or  
the application is not configured yet. [pid 24906 on line 706 of  
"/var/www/horde5/pear/php/Horde/Registry.php"]
HORDE5: Setting wicked inactive because the fileroot does not exist or  
the application is not configured yet. [pid 24906 on line 706 of  
"/var/www/horde5/pear/php/Horde/Registry.php"]
HORDE5: Setting chora inactive because the fileroot does not exist or  
the application is not configured yet. [pid 24906 on line 706 of  
"/var/www/horde5/pear/php/Horde/Registry.php"]
HORDE5: Setting whups inactive because the fileroot does not exist or  
the application is not configured yet. [pid 24906 on line 706 of  
"/var/www/horde5/pear/php/Horde/Registry.php"]
HORDE5: Setting luxor inactive because the fileroot does not exist or  
the application is not configured yet. [pid 24906 on line 706 of  
"/var/www/horde5/pear/php/Horde/Registry.php"]
HORDE5: Setting klutz inactive because the fileroot does not exist or  
the application is not configured yet. [pid 24906 on line 706 of  
"/var/www/horde5/pear/php/Horde/Registry.php"]
HORDE5: Setting jonah inactive because the fileroot does not exist or  
the application is not configured yet. [pid 24906 on line 706 of  
"/var/www/horde5/pear/php/Horde/Registry.php"]
HORDE5: Setting hermes inactive because the fileroot does not exist or  
the application is not configured yet. [pid 24906 on line 706 of  
"/var/www/horde5/pear/php/Horde/Registry.php"]
HORDE5: Setting sesha inactive because the fileroot does not exist or  
the application is not configured yet. [pid 24906 on line 706 of  
"/var/www/horde5/pear/php/Horde/Registry.php"]
HORDE5: Setting kolab inactive because the fileroot does not exist or  
the application is not configured yet. [pid 24906 on line 706 of  
"/var/www/horde5/pear/php/Horde/Registry.php"]
HORDE5: Setting gollem inactive because the fileroot does not exist or  
the application is not configured yet. [pid 24906 on line 706 of  
"/var/www/horde5/pear/php/Horde/Registry.php"]
HORDE5: Setting passwd inactive because the fileroot does not exist or  
the application is not configured yet. [pid 24906 on line 706 of  
"/var/www/horde5/pear/php/Horde/Registry.php"]
HORDE5: Setting agora inactive because the fileroot does not exist or  
the application is not configured yet. [pid 24906 on line 706 of  
"/var/www/horde5/pear/php/Horde/Registry.php"]
HORDE5: Setting ulaform inactive because the fileroot does not exist  
or the application is not configured yet. [pid 24906 on line 706 of  
"/var/www/horde5/pear/php/Horde/Registry.php"]
HORDE5: Setting vilma inactive because the fileroot does not exist or  
the application is not configured yet. [pid 24906 on line 706 of  
"/var/www/horde5/pear/php/Horde/Registry.php"]
HORDE5: [imp] Load config file (nls.php; app: horde) [pid 24906 on  
line 409 of "/var/www/horde5/pear/php/Horde.php"]
HORDE5: [imp] Load config file (conf.php; app: imp) [pid 24906 on line  
409 of "/var/www/horde5/pear/php/Horde.php"]
HORDE5: [imp] Load config file (prefs.php; app: horde) [pid 24906 on  
line 409 of "/var/www/horde5/pear/php/Horde.php"]
HORDE5: [imp] Hook prefs_init in application horde called. [pid 24906  
on line 1141 of "/var/www/horde5/pear/php/Horde.php"]

The process stops due to a loop. It seems that login.php is called  
several times.

Thanks for your help.


-- 
- Laurent Foucher
< I U T 'A'  Paul Sabatier >
laurent.foucher at iut-tlse3.fr
Enseignant/Chargé de mission Systèmes & Réseau




More information about the horde mailing list