Hi everyone,
I run a MacBook Pro on latest Snow Leopard, DavMail, Thunderbird with Lightning.
The problem is that I can't get access to all the calendars that other people share with me on Exchange Server 2003. 2/15 shared calendars work. I added the working shared calendars just like the not working ones and the people who shared their calendars shared them all the same way.
Here is an excerpt from the log file that might be helpful (e-mail addresses omitted). If you need more information, please let me know!
Cheers,
Jonathan
2012-04-17 15:00:32,967 DEBUG [CaldavConnection-53220] davmail - > HTTP/1.1 503 Service Unavailable
2012-04-17 15:00:32,968 DEBUG [CaldavConnection-53220] davmail - > Server: DavMail Gateway 3.9.8-1921
2012-04-17 15:00:32,968 DEBUG [CaldavConnection-53220] davmail - > DAV: 1, calendar-access, calendar-schedule, calendarserver-private-events, addressbook
2012-04-17 15:00:32,968 DEBUG [CaldavConnection-53220] davmail - > Date: Tue, 17 Apr 2012 13:00:32 +0000
2012-04-17 15:00:32,968 DEBUG [CaldavConnection-53220] davmail - > Expires: Tue, 17 Apr 2012 13:00:32 +0000
2012-04-17 15:00:32,968 DEBUG [CaldavConnection-53220] davmail - > Cache-Control: private, max-age=0
2012-04-17 15:00:32,968 DEBUG [CaldavConnection-53220] davmail - > Content-Type: text/plain;charset=UTF-8
2012-04-17 15:00:32,968 DEBUG [CaldavConnection-53220] davmail - > Connection: close
2012-04-17 15:00:32,969 DEBUG [CaldavConnection-53220] davmail - > Content-Length: 59
2012-04-17 15:00:32,969 DEBUG [CaldavConnection-53220] davmail - >
2012-04-17 15:00:32,969 DEBUG [CaldavConnection-53220] davmail.caldav.CaldavConnection - > 440 Login Timeout at /exchange/x.xxx@xxx.xx/Calendar
2012-04-17 15:00:32,972 DEBUG [davmail.caldav.CaldavServer] davmail - Connection from /127.0.0.1 on port 1080
2012-04-17 15:00:32,973 DEBUG [CaldavConnection-53225] davmail - < OPTIONS /users/x.xxxxx%40xxx.xx/ HTTP/1.1
2012-04-17 15:00:32,973 DEBUG [CaldavConnection-53225] davmail - < Host: localhost:1080
2012-04-17 15:00:32,974 DEBUG [CaldavConnection-53225] davmail - < User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:11.0) Gecko/20120327 Thunderbird/11.0.1 Lightning/1.3
2012-04-17 15:00:32,974 DEBUG [CaldavConnection-53225] davmail - < Accept: text/xml
2012-04-17 15:00:32,974 DEBUG [CaldavConnection-53225] davmail - < Accept-Language: de-de,de;q=0.8,en-us;q=0.5,en;q=0.3
2012-04-17 15:00:32,975 DEBUG [CaldavConnection-53225] davmail - < Accept-Encoding: gzip, deflate
2012-04-17 15:00:32,975 DEBUG [CaldavConnection-53225] davmail - < Connection: keep-alive
2012-04-17 15:00:32,975 DEBUG [CaldavConnection-53225] davmail - < Accept-Charset: utf-8,*;q=0.1
2012-04-17 15:00:32,976 DEBUG [CaldavConnection-53225] davmail - < Authorization: ********
2012-04-17 15:00:32,976 DEBUG [CaldavConnection-53225] davmail - < Pragma: no-cache
2012-04-17 15:00:32,976 DEBUG [CaldavConnection-53225] davmail - < Cache-Control: no-cache
2012-04-17 15:00:32,976 DEBUG [CaldavConnection-53225] davmail - > HTTP/1.1 200 OK
2012-04-17 15:00:32,976 DEBUG [CaldavConnection-53225] davmail - > Server: DavMail Gateway 3.9.8-1921
2012-04-17 15:00:32,976 DEBUG [CaldavConnection-53225] davmail - > DAV: 1, calendar-access, calendar-schedule, calendarserver-private-events, addressbook
2012-04-17 15:00:32,976 DEBUG [CaldavConnection-53225] davmail - > Date: Tue, 17 Apr 2012 13:00:32 +0000
2012-04-17 15:00:32,977 DEBUG [CaldavConnection-53225] davmail - > Expires: Tue, 17 Apr 2012 13:00:32 +0000
2012-04-17 15:00:32,977 DEBUG [CaldavConnection-53225] davmail - > Cache-Control: private, max-age=0
2012-04-17 15:00:32,977 DEBUG [CaldavConnection-53225] davmail - > Allow: OPTIONS, PROPFIND, HEAD, GET, REPORT, PROPPATCH, PUT, DELETE, POST
2012-04-17 15:00:32,977 DEBUG [CaldavConnection-53225] davmail - > Connection: keep-alive
2012-04-17 15:00:32,977 DEBUG [CaldavConnection-53225] davmail - > Content-Length: 0
2012-04-17 15:00:32,977 DEBUG [CaldavConnection-53225] davmail - >
2012-04-17 15:00:32,980 DEBUG [CaldavConnection-53225] davmail - < PROPFIND /users/xx.xxxx%40xxxxx.xx/ HTTP/1.1
2012-04-17 15:00:32,980 DEBUG [CaldavConnection-53225] davmail - < Host: localhost:1080
2012-04-17 15:00:32,980 DEBUG [CaldavConnection-53225] davmail - < User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:11.0) Gecko/20120327 Thunderbird/11.0.1 Lightning/1.3
2012-04-17 15:00:32,981 DEBUG [CaldavConnection-53225] davmail - < Accept: text/xml
2012-04-17 15:00:32,981 DEBUG [CaldavConnection-53225] davmail - < Accept-Language: de-de,de;q=0.8,en-us;q=0.5,en;q=0.3
2012-04-17 15:00:32,981 DEBUG [CaldavConnection-53225] davmail - < Accept-Encoding: gzip, deflate
2012-04-17 15:00:32,981 DEBUG [CaldavConnection-53225] davmail - < Connection: keep-alive
2012-04-17 15:00:32,982 DEBUG [CaldavConnection-53225] davmail - < Accept-Charset: utf-8,*;q=0.1
2012-04-17 15:00:32,982 DEBUG [CaldavConnection-53225] davmail - < Content-Length: 98
2012-04-17 15:00:32,982 DEBUG [CaldavConnection-53225] davmail - < Content-Type: text/xml; charset=utf-8
2012-04-17 15:00:32,982 DEBUG [CaldavConnection-53225] davmail - < Depth: 0
2012-04-17 15:00:32,982 DEBUG [CaldavConnection-53225] davmail - < Authorization: ********
2012-04-17 15:00:32,983 DEBUG [CaldavConnection-53225] davmail - < Pragma: no-cache
2012-04-17 15:00:32,983 DEBUG [CaldavConnection-53225] davmail - < Cache-Control: no-cache
2012-04-17 15:00:32,983 DEBUG [CaldavConnection-53225] davmail.caldav.CaldavConnection - < <D:propfind xmlns:D="DAV:">
<D:prop>
<D:principal-collection-set/>
</D:prop>
</D:propfind>
2012-04-17 15:00:32,984 DEBUG [CaldavConnection-53225] davmail.exchange.ExchangeSession - Got session davmail.exchange.dav.DavExchangeSession@18339aa from cache
2012-04-17 15:00:32,985 DEBUG [CaldavConnection-53222] davmail.exchange.ExchangeSession - Detected shared path for principal x.xxx@xxx.xx, user principal is x.xxx@xxx.xx
2012-04-17 15:00:32,991 ERROR [CaldavConnection-53222] davmail - 440 Login Timeout at /exchange/x.xxx@xxx.xx/Calendar
davmail.exception.LoginTimeoutException: 440 Login Timeout at /exchange/x.xxx@xxx.xx/Calendar
at davmail.http.DavGatewayHttpClientFacade.buildHttpException(DavGatewayHttpClientFacade.java:677)
at davmail.http.DavGatewayHttpClientFacade.executeMethod(DavGatewayHttpClientFacade.java:446)
at davmail.http.DavGatewayHttpClientFacade.executePropFindMethod(DavGatewayHttpClientFacade.java:400)
at davmail.exchange.dav.DavExchangeSession.internalGetFolder(DavExchangeSession.java:1787)
at davmail.exchange.ExchangeSession.getFolder(ExchangeSession.java:1275)
at davmail.caldav.CaldavConnection.sendFolderOrItem(CaldavConnection.java:633)
at davmail.caldav.CaldavConnection.handleFolderOrItem(CaldavConnection.java:275)
at davmail.caldav.CaldavConnection.handleRequest(CaldavConnection.java:222)
at davmail.caldav.CaldavConnection.run(CaldavConnection.java:171)
440 means access denied on Exchange => can you try to access those calendars through OWA in a web browser ?
Hi mcguessan,
I can't see a view in OWA on a web browser for shared calendars. I can see the calendars in a 2007 Outlook on Win XP though ...
Do you think the OWA doesn't access the shared calendars right then? Because if the OWA doesn't have access DavMail wouldn't.
I don't see how I can access the shared calendar from OWA. I tried the URL "https://<server name>/owa/<user email>/?cmd=contents&f=Calendar&view=Daily" and "https://<server name>/owa/<user email>/?cmd=contents&module=calendar" and it asks me for permission (user / password). When I type those in, I get a 404 Error (Page not found)
Hope this helps!
Cheers,
Jonathan
Sorry, I thought you were on Exchange 2003
On Exchange 2007 calendars are not directly available.
=> Check authorizations on shared calendars to detect the difference between working/not working calendars
Hi mcguesson,
sorry if I've been unclear. I have an Exchange Server 2003 SP2 and Outlook 2007 in which sharing calendars work without Problems. OWA doesn't show any calendars and TB Lightning shows 2/13 shared calendars (all calendars are shared the same way).
Jonathan
On Exchange 2003, you can check calendar access in a web browser at:
https://exchangeserver/exchange/user@company.com/calendar
The link (https://exchangeserver/exchange/user@company.com/calendar) directs me to the standard OWA-login, which works out fine but then redirects me to a 404-page (file or directory not found)
I haven't been successful trying to access shared calendars via OWA at all, I'm doubting it's possible on Exchange 2003. I know Exchange 2003 supports shared calendars though .. it's a total mistery to me why 2/13 would work ..
Forgot to mention that you must replace /calendar with real localized name, e.g. /Calendrier on a french server
Hi,
I tried following schemes with no avail:
/calendar
/Calendar
/kalender
/Kalender
(I'm German)
Cheers,
Jonathan
Well, you can at least access your own calendar ?
Yes, I can access my own e-mail by logging in the "normal" way. (https://exchange-server/exchange)
I mean, can you access your calendar at
https://exchangeserver/exchange/user@company.com/kalender
No I can't.
I found that the correct url - for my own calendar - would be
"https://server/exchange/user@company.com/ownCalendarName?Cmd=contents" (Cmd post is optional)
ownCalendarName is the name of my calendar, which I changed in outlook. maybe that's why all the other shared calendars don't work, because they all changed the default name of the calendars to something else and davmail only supports the default name? But why could Lightning access my own calendar then?
What I also don't understand is why Lightning can fetch my own calendar data. The url for the calendar is "http://localhost:1080/users/user123@company.com/calendar" but when I try to access that with Firefox I get "/exchange/user123//calendar not found" (double slashes intended) Can you explain that to me?
I hope this helps. Sorry for taking up your time
Ok, that's a clue: Lightning is able to access your own calendar because the default calendar name is available in mailbox properties.
However, those properties are not available for shared calendars => you need to get actual calendar path from user.
Hi!
That was the problem! Different people having different calendar names. Some people e.g. have Outlook in English which means their calendar name is in English ... Some people rename their calendars, etc.
Maybe a feature request could be that DavMail grabs all existing calendars and stores them in standard IDs (e.g. cal1, cal2, etc) and the user specific display name (e.g. Calendar-Work, Calendar-Private, etc.) That way Lightning could access the calendars with the standard IDs and the problem I had would be eliminated.
I wonder if there is a bug report for this (even though IMHO this isn't really a bug)
Thanks so much for your help! You can close this thread then! (:
Jonathan
Well, the simplest way is to just use real calendar name... not sure I could do something better at DavMail level