Multiple Calendars - Single Auth Lightning / Sunbird

Best practice information from Scalix users relating to integration of Scalix with other products.

Moderator: ScalixSupport

cytringan

Multiple Calendars - Single Auth Lightning / Sunbird

Postby cytringan » Thu Mar 27, 2008 6:59 pm

New to Scalix, very impressed so far :-)

I'm hoping to use Scalix as a robust CalDAV server for a small 3 person office (i've been fighting corrupting ical files with phpicalendar for last 10months)

Rita, Bob, Sue have one Calendar each
They use Thunderbird 2.0.0.12 with Lightning 0.7
They want to share there three calendars so they can check/make appointments for each other

Problem:
https://bugzilla.mozilla.org/show_bug.cgi?id=388578
https://bugzilla.mozilla.org/show_bug.cgi?id=247486

Thunderbird/Lightning with try and access all three calendar, but with only 1 set of usr/pwd details.

This means that Bob can use his calendar, but Rita and Sues calendars being viewed on Bobs computer get auth errors.

This is rubbish! If affectly forces you to have only one calendar per pc. The current soultion is for all three users to have a single calendar, or setup three Scalix servers with differnet URI's.

Does anyone have any smart tips/trick on how this might be worked around?

The mozilla auth uses 'realms' so it sees

https://boss.cytringan.com/api/dav/Prin ... xample.com
https://boss.cytringan.com/api/dav/Prin ... xample.com
https://boss.cytringan.com/api/dav/Prin ... xample.com

as one 'realm', even though the last part is differnet

Maybe someone has an idea how to work around this?

My other thought might be to have a 'global' user with three calendars, but I've not worked out how to create more then one calendar per user yet. (any help?)

Happy to recieve any replies,
Paul

cytringan

Postby cytringan » Thu Mar 27, 2008 7:04 pm

Forgot to say: I'm using openSuSE 10.2 OS, with Scalix 11.3 Community

ra
Posts: 30
Joined: Thu Dec 07, 2006 5:34 am

Shared Calendars

Postby ra » Fri Mar 28, 2008 3:10 am

Define your users as premium users to gain access to shared calendars.

cytringan

Postby cytringan » Fri Mar 28, 2008 7:37 am

All three users are 'premium' users
To test I have logged into /webmail as the first user, right clicked on calendar and gave 'Owner' permissons to the second user > Save > Exit
Then logged in as second user, right clicked on calendar and gave 'Owner' permissions to the first user. > Save > Exit.
Log back into the /webmail interface and all is happy, calenders are shared both ways

From Thunderbird/Lightning:

New Calendar > on network > CalDAV
Host: https://scalix.exmaple.com/api/dav/Cale ... m/Calendar
Name: Bob, Colour: Blue
usr/pwd as bob@example.com/password
Calendar appears - read/write OK

Now add the second calendar:
Host: https://scalix.exmaple.com/api/dav/Cale ... m/Calendar
Name: Rita, Colour: red
usr/pwd as rita@example.com/password
Calendar fails with this error:

0x804a0301
The resource at https://scalix.example.com/api/dav/Cale ... m/Calendar is either not a DAV collection or not available

I think this means that bob cannot read/write to rita's calendar via CalDAV, as we are authenticating as bob.

Can anyone else confirm this behavior?

Note my example above, I've converted my installation to https, and example.com is not my real domain! - I don't believe either of these are part of the problem at this stage.

Regards,
Paul

scottmc

Re: Multiple Calendars - Single Auth Lightning / Sunbird

Postby scottmc » Sat Apr 05, 2008 2:02 am

cytringan wrote:New to Scalix, very impressed so far :-)

I'm hoping to use Scalix as a robust CalDAV server for a small 3 person office (i've been fighting corrupting ical files with phpicalendar for last 10months)

Rita, Bob, Sue have one Calendar each
They use Thunderbird 2.0.0.12 with Lightning 0.7
They want to share there three calendars so they can check/make appointments for each other

Paul


Hi Paul,

A simple though slightly annoying solution. Are you able to create some additional DNS entries? If so, create some redundant entries pointing to the same IP address as the Scalix server (ie rita.domain.com, bob.domain.com, sue.domain.com).

Then, setup each calendar in Thunderbird but use a different host name for each URL... and hey presto it should work. What I believe is happening here is that mozilla is linking the login and password to the URL in such a way that it thinks that the same loing and password applies to all entries. By using different host names, this is not a problem.

One tip though... go into you password manager and blow the login and password away for the URL... mozilla might confuse things otherwise.

Hope this helps.

regards

Scott

lb

Postby lb » Mon Apr 07, 2008 4:30 am

Hello Paul,

the URLs to access resources through webdav depend on the current user and the resource to be accessed. Copying URLs between accounts does not work!

1. Take your webbrowser to the following URL:
https://YOURSCALIXSERVER/api/dav/

2. Log in with the first user

3. Navigate: Calendars -> Calendar Users -> My Calendars

4. You will see a list of all Calendars that the current user has access to.

5. Click on the Calendar entries to get their (user-dependant) URLs

Also, all users at my (test) site have a "public" calendar - you can create this in the webmail interface by choosing New->New Folder. The new calendar must be created under the "Public Folders".

Hope this helps.

Best regards,
Lars

gren
Scalix
Scalix
Posts: 264
Joined: Thu Mar 25, 2004 10:27 am
Contact:

Postby gren » Wed Apr 09, 2008 6:30 am

Delegate access to caledars is not yet supported I'm afraid.
The way Lightning handles authentication - where it assumes a username and password are associated with a particular host and won't allow different ones for a different calendar causes problems with adding calendars for different users with full access.

I don't know whether the proposed solution, to use aliases for the host would work.

aio
Posts: 65
Joined: Thu Jun 02, 2005 7:15 am

Postby aio » Mon Jan 05, 2009 10:06 am

Hi gren

Is this still so in 14.4.2?

"Delegate access to caledars is not yet supported I'm afraid. "

or how can I connect to other user calendar via CalDav?

Thanks,
Erich

gren
Scalix
Scalix
Posts: 264
Joined: Thu Mar 25, 2004 10:27 am
Contact:

Postby gren » Wed Jan 07, 2009 7:52 am

Hi,

Yes this is still true, delegate support is not yet implemented I'm afraid.
The only way to access another user's calendar would be to use that user's authentication tokens or to use mailbox admin capability to authenticate as the other user.

Regards and apologies,
Gren.


Return to “Third Party Integration”



Who is online

Users browsing this forum: No registered users and 1 guest