[Kolab-devel] problem & fix for freebusy via http in kolab 2.0
Aaron J. Seigo
aseigo at kde.org
Thu Jun 23 21:16:07 CEST 2005
hi all..
i'm running kolab 2.0 with horde/imp and the freebusy via http wasn't working.
this made the freebusy for attendees set up via horde inoperable. after some
digging around i tracked the problem down to FreeBusyCache::findAll( $uid,
$groups ) at /kolab/var/kolab/php/freebusy/freebusycache.class.php:156
the line was:
$db = dba_open( $this->basedir.'/pfbcache.db', 'rd', 'gdbm' );
and it should be:
$db = dba_open( $this->basedir.'/pfbcache.db', 'cd', 'gdbm' );
looks like a simple typo, but it makes quite a difference ;) perhaps this is
already fixed in CVS?
on a side note, in horde/kronolith/lib/Storage/kolab.php there is this line:
$fb_url = 'http://' . $conf['kolab']['imap']['server'] .
"/freebusy/$email.vfb";
well, for various reasons, i don't have the kolab apache daemon listening on
port 80. and it seems, looking at the apache2 config for kolab, that freebusy
is supposed to fetched via https anyways. would it make sense then to change
that to use https by default? also, i'll be moving the kolab ssl port to 4430
on that box later today which means i'll have to edit that line to listen to
the right port. what i'm considering doing is the following:
$fb_url = $conf['kolab']['freebusy']['protocol'] . '://' . $conf['kolab']
['imap']['server'] . ':' . $conf['kolab']['freebusy']['port'] .
"/freebusy/$email.vfb";
thoughts?
--
Aaron J. Seigo
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA EE75 D6B7 2EB1 A7F1 DB43
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.kolab.org/pipermail/devel/attachments/20050623/724f3ffe/attachment.sig>
More information about the devel
mailing list