This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Getting free/busy times from Zimbra

Tags: None
(comma "," separated)
gracedman
Registered Member
Posts
66
Karma
0

Getting free/busy times from Zimbra

Mon Apr 12, 2010 10:16 pm
How do we get free/busy times from a Zimbra server into Kontact (1.2.9)? We tried the standard zimbra:
https://zimbra.mycompany.com/zimbra/home/%u@%d?fmt=freebusy
but it did not work. Thanks - John


www.spiritualoutreach.com
Making Christianity intelligible to secular society
gracedman
Registered Member
Posts
66
Karma
0
Actually, as we posted in a related thread, we are very close on this one. The URI should be closer to
https://zimbra.mycompany.com/zimbra/home/%u@%d?fmt=ifb

but the missing piece is how to pass the user and domain to Zimbra from KOrganizer. %u and %d are not working. Does anyone know how KOrganizer passes this information? Thanks - John


www.spiritualoutreach.com
Making Christianity intelligible to secular society
gracedman
Registered Member
Posts
66
Karma
0
We turned off encryption and took some packet traces to see what Kontact was doing and it looks like we have gotten it to work. It looks like the query is somewhat hard coded. We cannot specify the format and it does not take variables for user name and domain. It just inserts them. Thus, rather than:
https://zimbra.mycompany.com/home/%u@%d/?fmt=ifb

we simply use:
https://zimbra.mycompany.com/home/

and Kontact completes it as
https://zimbra.mycompany.com/home/<username>%40<domain>.ifb
So far so good. Now for that time zone bug :((

Last edited by gracedman on Sat Apr 24, 2010 3:49 am, edited 1 time in total.


www.spiritualoutreach.com
Making Christianity intelligible to secular society
gracedman
Registered Member
Posts
66
Karma
0
Argh!! I spoke to soon. The free/busy times had been cached from when we put in the correct URI manually. The hard coding is the problem. Zimbra requires the format %u@%d/?fmt=ifb or similar variations. If we send a URI of the form %u@%d.ifb, it returns a permission denied error. Is there any way to tell Kontact how to correctly format the request? Thanks - John


www.spiritualoutreach.com
Making Christianity intelligible to secular society
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
As far as I know there isn't a way ( other than altering the sources ) to make it change its behaviour.

The line will probably be located in the KResource for handling ical files, grep'ing for "ifb" will probably reveal the string and allow you to change it to make it Zimbra compatible instead of Kolab compatible.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
gracedman
Registered Member
Posts
66
Karma
0
Thanks. I think rather than altering the code, we will see if we can do a URI rewrite as I think it will be easier to maintain. The request is close enough that it will probably be simple once we figure out how to do that in jetty or NGINX - John


www.spiritualoutreach.com
Making Christianity intelligible to secular society


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], rockscient, Yahoo [Bot]