[kronolith] authentification horde WebDav
Alfonso Marín Marín
almarin at um.es
Tue Aug 31 06:19:12 UTC 2010
Hello Alain:
You can't use CAS authentication in RPC calls, because it uses a basic
authentication, which is incompatible with CAS authentication schema.
To achieve that, you need another authentication backend (app
authentication, LDAP, ...) and use composite auth
(http://wiki.horde.org/AuthCompositeHowTo)
For example, I can show you our authentication config. We have CAS
authentication and IMP authentication:
// CAS driver config
$conf['auth']['params']['drivers']['driver_cas']['driver'] = 'cas';
$conf['auth']['params']['drivers']['driver_cas']['params']['hostspec'] =
...;
// ... Rest of CAS auth params
// IMP driver config
$conf['auth']['params']['drivers']['driver_app']['driver'] = 'application';
$conf['auth']['params']['drivers']['driver_app']['params']['app'] = 'imp';
//We use composite as main auth driver
$conf['auth']['driver'] = 'composite';
$conf['auth']['params']['loginscreen_switch'] = '_authentication_selector';
if (!function_exists('_authentication_selector')){
function _authentication_selector(){
// Basic RPC calls detection
if (preg_match('/^\/rpc/', $_SERVER['REQUEST_URI'])){
$driver = 'driver_app';
} else {
$driver = 'driver_cas';
}
return $driver;
}
}
El 30/08/10 17:25, Alain DEFRANCE escribió:
> hello all,
>
> when i try to connect to my kronolith horde server with the following URL :
> https://myserver/horde/rpc.php/kronolith/my_user.ics
>
> i've the pop-up but authentification failed and i can't find any logs !
>
> i'm using CAS server for horde authentification and that's works fine
> for login...
>
> what's wrong in my installation ?
>
> thanks a lot for replies..
>
>
>
--
Alfonso Marín Marín
Sección de Telemática - ATICA
Universidad de Murcia
http://www.um.es/atica
Tlf: 868 88 87 42
More information about the kronolith
mailing list