Prerequisites

You don't really need to do much to your network to make Address Book Server available to users. You don't even have to alter the directory. One requirement, though, is that the Mac you run Address Book Server on needs to be configured as an Open Directory master (described in Chapter 6). This configuration is necessary because Address Book client users are provisioned in Open Directory. This means that the directory services provide the authentication and access privileges.

As an option, a DNS entry can be helpful. And as with all services, you may need port forwarding if users access the service from the Internet.

Optional DNS

Although it's not a requirement, you can add a service record (SRV record) for CardDAV to a DNS server to help clients connect to the Address Book service, particularly across the Internet. The service record can be on the DNS service running in Mac OS X Server or on another server. The port number used depends on whether you're using a Secure Sockets Layer (SSL) certificate for Address Book service.

If you're using an SSL certificate, the SRV record should map carddavs._tcp for port 8443 of the server's hostname:

carddavs._tcp 86400 IN SRV 0 1 8443 our server.company.com

If you're not using SSL for Address Book service, add a record that maps _carddav._tcp for port 8008 to the server hostname. For example:

carddavs._tcp 86400 IN SRV 0 1 8008 server.example.com

If you're running DNS service in Lion Server, you can use the graphical ...

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.