Upgrading Contacts from Mac OS X Server Version 10.5

Mac OS X Server 10.5 didn't have Address Book Server but instead had something called Shared Contacts. Although you can't upgrade a 10.5 Server to Lion Server, you can migrate version 10.5.8 to Lion Server. (Migration is described in Chapter 3.) But before you use Lion's Server Assistant to automate the migration, you need to manually migrate the old Address Book Server's Shared Contacts. The only way to do this is from the command line within Terminal (in the /Applications/Utilities folder). Here's how:

  1. Log in to the server and launch Terminal.
  2. Type the following command on one line, replacing the italics with your own information:
/usr/sbin/ContactsMigrator -s /LDAPv3/serverName -d http://yourserverName:8800/addressbooks/groups/mygroup/addressbook/ -u username -p password

The server name is the fully qualified domain name of your Address Book Server. The username and password are those of the system administrator. Note also that in this example, 8800 is the port number; if you're using another port number (such as 8843 for SSL), type that number.

Get Mac OS X Lion Server For Dummies® now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.