10.6: A fix for iCal not logging into certain Caldav servers
Apr 26, '10 07:30:00AM
Contributed by: protean
I wasn't able to find anything online about this, so maybe this is only my problem, but it affects two of my Macs. In case I'm not the only one, here is the problem and solution.
Snow Leopard iCal connects just fine to an Open Directory-based Caldav server, such as the one found in server 10.5.8. (I don't have 10.6 server). However, when connecting to a manually-entered URL, such as http://ical.server.com:8008/principals/users/jane/, the connection fails. The iCal server logs indicate a successful login, but the iCal client reports "your username and password were rejected by the server."
I tried some things, including re-applying the 10.6.3 combo installer, but it didn't work. I also tried trashing my keychain, still no joy. The solution is very primitive, but it works.
The prudent person would make sure she or he has a current backup of their calendars before proceeding.
- On an older system (such as 10.5.8), create the manual Caldav account in iCal and verify it is working.
- Go into your user's Library/Calendars folder (/Users/[you]/Library/Calendars/).
- Find the folder that ends with .caldav, and has the creation date and time of when you created it.
- Quit iCal if it's running on your Snow Leopard machine.
- Copy the folder you found in step three to your Snow Leopard machine, and put it in the corresponding folder on your Snow Leopard machine (/Users/[you]/Library/Calendars/)
- Delete the file called Calendar Cache
- Launch iCal on the Snow Leopard machine.
You will see your calendars being updated, and when it's done, you should see the Caldav account. Go into the account settings. and be sure your password is in there -- add it if not. I'm sure someone out there has a more elegant solution, but at least this works for now.
[robg adds: I haven't tested this one.]
Comments (8)
Mac OS X Hints
http://hints.macworld.com/article.php?story=20100422101435407