[dev] ical webdav problem

Jan Schneider jan at horde.org
Sun May 18 15:08:11 UTC 2008


Zitat von Didi Rieder <adrieder at sbox.tugraz.at>:

> 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.

No, you must have set this up somehow, it doesn't happen magically.

> 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.

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/



More information about the dev mailing list