[horde] Composite auth driver woes

Michael Rubinsky mrubinsk at horde.org
Tue Dec 16 22:40:51 UTC 2008


Quoting "Chris St. Pierre" <stpierre at NebrWesleyan.edu>:

> I'm trying to get a composite authentication driver working.  My
> config is as follows:
>
> $conf['auth']['driver'] = 'composite';
> $conf['auth']['params']['drivers']['imp_auth']['driver'] = 'application';
> $conf['auth']['params']['drivers']['imp_auth']['params']['app'] = 'imp';
> $conf['auth']['params']['drivers']['ldap_users']['driver'] = 'ldap';
> $conf['auth']['params']['drivers']['ldap_users']['params'] =
>   array('hostspec'   => 'ldap.nebrwesleyan.edu',
>   'basedn'     => 'ou=people,o=nebrwesleyan.edu,o=isp',
>   'version'    => '3',
>   'ad'         => false,
>   'uid'        => 'uid',
>   'encryption' => 'ssha',
>   'newuser_objectclass' => array('shadowAccount', 'inetOrgPerson'),
>   'objectclass'         => array('nwuPerson'),
>   'filter_type'         => 'objectclass',
>   'password_expiration' => 'no');
> $conf['auth']['params']['admin_driver'] = 'ldap_users';
> $conf['auth']['params']['loginscreen_switch'] = '_horde_select_loginscreen';
> if (!function_exists('_horde_select_loginscreen')) {
>   function _horde_select_loginscreen() {
>     return 'imp_auth';
>   }
> }
>
> When I try to log in, I just get sent back to the login screen without
> an error.  In the logs, I actually get "Login success" messages.
>
> The really strange thing is that I started twiddling with this when I
> noticed a typo; I used to have:
>
> $conf['auth']['params']['admin_driver'] = 'ldap';
>
> No driver named 'ldap' existed in my params.  But it worked!  (User
> listing didn't work, obviously, but logins did.)  So apparently the
> error condition of no admin_driver existing was "better" than the
> error condition of ... whatever is wrong now.
>
> Can anyone suggest what might be wrong?  Thanks!


The fact that you are seeing login success messages makes me think  
that this is a cache or a stale cookie.  Try clearing your browser's  
cookie cache.


Thanks,
mike

--
The Horde Project (www.horde.org)
mrubinsk at horde.org

"Time just hates me. That's why it made me an adult." - Josh Joplin


More information about the horde mailing list