10.6 Server: Workaround for recurring CalDAV password dialogs on iOS devices
May 26, '11 07:30:00AM
Contributed by: adrian.nier
Follow these steps to work around an issue that causes recurring password dialogs on iOS devices that are configured to connect to a CalDAV account hosted by Mac OS X Server 10.6.
The procedure involves turning off Digest authentication and enabling Basic authentication. Since all passwords will be sent in the clear, make sure that all traffic to the iCal server is encrypted. This can be done either by requiring users to connect via VPN or by using a valid SSL certificate and setting SSL to 'Redirect' in the iCal Service settings in Server Admin.
-
Log in to an administrative user's account on the server and open the Terminal application located in /Applications/Utilities/.
-
Type the following command to change to the directory containing the settings for the iCal service:
cd /private/etc/caldavd
-
Make a copy of the preference file. You will be asked for the administrative user's password after entering this line:
sudo caldavd.plist caldavd.plist.backup
-
Use the nano editor to edit the preference file:
sudo nano caldavd.plist
-
You can use the arrow keys to navigate around the contents of the preference file. First, enable Basic authentication. Go past the line that reads <key>Authentication</key>, past <key>Basic</key>, stop at <key>Enabled</key> and change <false/> to <true/> on the next line.
-
Turn off Digest authentication by going past <key>Digest</key> and stop at <key>Enabled</key> and change <false/> to <true/> on the next line.
-
Press Ctrl+X to exit the editor, press Y to save changes, and press the Enter key to confirm the file name.
-
In Server Admin, stop the iCal service and start it again.
If you need to revert your changes. Issue the following command in the Terminal application:
sudo mv /private/etc/caldavd/caldavd.plist.backup /private/etc/caldavd/caldavd.plist
[crarko adds: I haven't tested this one.]
Comments (6)
Mac OS X Hints
http://hints.macworld.com/article.php?story=20110524024036889