freebusy with kolab debian packages
Gunnar Wrobel
wrobel at pardus.de
Wed Feb 20 09:12:07 CET 2008
Hi Mike,
Mike Gabriel <m.gabriel at das-netzwerkteam.de> writes:
> hi gunnar,
>
> Quoting Gunnar Wrobel <wrobel at pardus.de>:
>
>> Hi Mike,
>>
>> Mike Gabriel <m.gabriel at das-netzwerkteam.de> writes:
>>
>> [...]
>>
>> What horde does within the call "triggerFreeBusyUpdate" (currently in
>> Kolab.php -> on my systems /usr/share/php/Horde/Kolab.php) is to
>> trigger using the URL
>>
>> 'https://' . Kolab::getServer("imap") . '/freebusy/trigger/' .
>> $folder . '.xpfb'
>
> arggghhh... i used "localhost" as imap server string. however, my
> apache has a vhost setup and "localhost" is very much different from
> "mail.mydomain.de".
>
> wouldn't it be better to address horde's $conf['server']['name'] here?
> (ah no, forget this, horde-webserver and imap-server can be on
> different hosts... hmmm... maybe a config parameter for the freebusy
> URL is needed in kronolith's conf.php?
Yes, you are right. This needs to fixed at some point. Right now we
still assume that the free/busy part lives on the IMAP server. This
will probably remain like this for Kolab-2.2 but at some point I think
we should be able to relocate the whole f/b-System if required and
this would then need to be configurable.
>
>
>> Anyhow if that triggering URL works on your system, Horde should
>> trigger the update.
>
> with the new hostname for the imapserver and a fix in Cache.php it now works:
>
> FIX for Cache.php/CVS: in FreeBusyCache::&loadPartial you set
> $fbfilename in the first line, but then refer to $file in the rest of
> the method. i have replaced any occurence of $file by $fbfilename and
> also commented out the check for relevance (my kronolith has the
> patches in kolab-2.2-CVS, including the relevance patch). with these
> changes the fb cache generation now works.
Ups... Thanks a lot. I broke that with my last commit when I tried to
fix some other errors.
Hope my last CVS commit fixes this.
>
>>> o i tried to authenticate against freebusy/trigger with my kolab/LDAP
>>> systems calendar user, but the freebusy/trigger https authentication
>>> failed
>>
>> Yes, you can only use the users credentials that OWNs the folder.
>
> ok, got that. fb-cache is updated after every call of "saveEvent" in
> horde, i suppose that other kolab clients behave similarly... now it
> is clear, why an authenticated user is the normal case for
> fb-generation...
>
>> Shared folders are not taken into account when it comes to the
>> calculation of free/busy times. I'm not 100% certain if this was
>> intended this way but I believe it makes sense. Shared folders usually
>> contain very generic events. Image a situation where you have a shared
>> folder accessible to all users on your system: Add one event and
>> suddenly all your users are blocked by this event.
>
> ok, agreed. how about groups, would they work and be include in
> freebusy information???
>
> i now have a further problem.
>
> in my lib/Horde/iCalendar/vfreebusy.php (horde-3.2-rc1)
> Horde_iCalendar_vfreebusy::getName() does not return a valid friendly
> name for the ORGANIZER. this probably is mainly due to a missing CN
> param for the ORGANIZER in my freebusy cache files generated by the
> kolab-2.2 freebusy engine (i backported fb scripts from kolab-2.2 to
> kolab-2.1).
>
> is it intended that the ORGANIZER's CN is missing in the vcal files?
No, if remember it correctly the entry is mandatory. I would have to
check again but maybe you have a hint why this is missing in the cache
files?
Cheers,
Gunnar
P.S.: Thanks for reading and correcting the code!
>
> fragen über fragen,
:)
> mike
>
>
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
>
> _______________________________________________
> Kolab-users mailing list
> Kolab-users at kolab.org
> https://kolab.org/mailman/listinfo/kolab-users
--
______ http://kdab.com _______________ http://kolab-konsortium.com _
p at rdus Kolab work is funded in part by KDAB and the Kolab Konsortium
____ http://www.pardus.de _________________ http://gunnarwrobel.de _
E-mail : p at rdus.de Dr. Gunnar Wrobel
Tel. : +49 700 6245 0000 Bundesstrasse 29
Fax : +49 721 1513 52322 D-20146 Hamburg
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> Mail at ease - Rent a kolab groupware server at p at rdus <<
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
More information about the users
mailing list