[Kolab-devel] [issue3208] Free/Busy list is always empty

Albrecht Dreß kolab-issues at intevation.de
Tue Nov 4 22:06:03 CET 2008


New submission from Albrecht Dreß <albrecht.dress at lios-tech.com>:

The Kolab 2.2 server is configured to allow unauthenticated download of
free/busy lists.  As I had problems in the past with http 404 errors for the
calendar user, I also applied the patch from issue #3074.

Running the trigger as calendar user works fine (i.e. call
"https://kolab.my-server.de/freebusy/trigger/the.user%40my-company.com/Kalender.pfb"),
and the result looks like:

<snip>
BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//proko2//freebusy 1.0//EN
METHOD:PUBLISH BEGIN:VFREEBUSY
ORGANIZER;cn=The User:MAILTO:the.user at my-company.com
DTSTAMP:20081030T090125Z
DTSTART:20081029T230000Z
DTEND:20081228T230000Z
FREEBUSY:20081030T140000Z/20081030T143000Z
FREEBUSY:20081030T180000Z/20081030T190000Z
FREEBUSY:20081031T090000Z/20081031T103000Z
FREEBUSY:20081101T230000Z/20081105T230000Z
FREEBUSY:20081111T090000Z/20081111T100000Z
FREEBUSY:20081113T090000Z/20081113T163000Z
FREEBUSY:20081205T180000Z/20081205T220000Z
FREEBUSY:20081219T180000Z/20081219T230000Z
END:VFREEBUSY
END:VCALENDAR
</snip>

However, when I try to read the fb list using
"https://kolab.my-server.de/freebusy/the.user@my-company.com.ifb", the result is
always an empty dummy list:

<snip>
BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//proko2//freebusy 1.0//EN
METHOD:PUBLISH
BEGIN:VFREEBUSY
ORGANIZER;cn=The User:MAILTO:the.user at my-company.com
DTSTAMP:20081030T074609Z
URL:http://kolab.my-server.de/freebusy/the.user@my-company.com.ifb
COMMENT:This is a dummy vfreebusy that indicates an empty calendar
FREEBUSY:19700101T000000Z/19700101T000000Z
END:VFREEBUSY
END:VCALENDAR
</snip>

I added more debug information to the file
/kolab/lib/php/Kolab/Freebusy/Cache.php, and apparently in the method
FreeBusyCache::load the statements

        /* Which files will we access? */
        $aclcache = &FreeBusyCacheDB_acl::singleton('acl', $this->_cache_dir);
        $files = $aclcache->get($access->owner);

/always/ result an empty files list unless "anyone" has at least read access to
the respective Calendar/Kalender folder which is obviously not what I want (i.e.
FB lists should be accessible for everyone).

----------
messages: 17432
nosy: albrecht.dress
priority: urgent
status: unread
title: Free/Busy list is always empty
___________________________________________________
Kolab issue tracker <kolab-issues at intevation.de>
<https://www.intevation.de/roundup/kolab/issue3208>
___________________________________________________




More information about the devel mailing list