[dev] ical webdav problem

Didi Rieder adrieder at sbox.tugraz.at
Sun May 18 13:41:15 UTC 2008


Quoting Jan Schneider <jan at horde.org>:

> Zitat von Didi Rieder <adrieder at sbox.tugraz.at>:
>
>> Hi,
>>
>> our Horde system is set up to authenticate via IMP:
>> horde/conf.php:
>> $conf['auth']['params']['app'] = 'imp';
>> $conf['auth']['driver'] = 'application';
>>
>> IMP is configured to serve as client for ~15 different mail servers.
>> horde/imp/conf.php:
>> $conf['server']['server_list'] = 'shown';
>>
>> This works all fine and all prefs_uid, calendar_id and so on are
>> named/stored as "username at realm"
>>
>> Now, when I try to access my calendar via webdav then I don't get an output.
>> I used the following url:
>> <https://myhordehost/horde/rpc.php/kronolith/username@realm/username@realm.ics>
>> and provided "username" as username and the correct password as
>> password at the login.
>>
>> With this the user does even not get authenticated at the right
>> mailserver (server_key = 'my_mailserver'). When adding
>> "/?server=my_mailserver" to the url above, then the user gets
>> authenticated to the corresponding mailserver, that's fine so far,
>> but  I still do not get any ical output. From the log_debug I see,
>> that the  user value in the sql statements changes between
>> "username" and  "username at realm" after the "login success". I
>> attached a log file with  all the entries from one attempt.
>>
>> I'm I doing somthing wrong? Is there a solution for this?
>
> How do users authenticate, with or without the realm? If without, how
> do you attach the realm? How do the logs look like compared to a
> "regular" login?
>

Jan, thanks for answering

The users do not have to add the realm to their usernames up on login.
I do not attach the realm somehow, I think the realm gets added  
automatically when using the auth driver application together with imp  
and the selectable server list.
When a "regular" login is done, then all sql queries are performed as  
expected, meaning that for each username value the realm is attached -  
at least in the queries found in the debug log.

Didi

-- 
-------------------------
Didi Rieder
adrieder at sbox.tugraz.at
PGPKey ID: 3431D0B0
-------------------------



More information about the dev mailing list