Macworld

Set up macOS Server’s Contacts Service

Jeffery Battersby explains how to set up Contacts Services for access on your network

- Setting up the Contacts service If you already set up an account

Over the recent weeks we’ve worked with the Server app on macOS Sierra to set up the Calendar service. The Calendar service uses CalDAV, a web standard that allows you to connect to calendar services, add and update events using a variety of calendar apps. In fact, when we were working with the calendar service you could have just as easily added your server’s calendar service to Fantastica­l or BusyCal because both support the CalDAV standard.

Server’s Contacts service works using a similar standard called CardDAV, which, like CalDAV, allows a variety of contact apps to connect to and update data stored on your server. And, in fact, CalDAV and CardDAV are linked to each other on your server. You can see this link using the Server apps log tools.

1. Open the Server app 2. Select Logs in the sidebar of the Server app 3. Locate and select the Calendar and Contacts log

Note that the two are linked together in the log.

Look at Contacts without connecting to the Contacts service

Server’s Contacts service allows you to provide a centralise­d database of contacts that can be used by edited and updated by anyone using your server and contact data can be used in any CardDAV capable app.

Before we set the service up on your Mac, let’s look at the Contacts app to see what’s available before we set up and connect to the Contacts service. So, open the Contacts app.

When you open Contacts you should see the Groups sidebar to the left of your list of contacts. If you don’t see the sidebar:

1. Open the View menu 2. Select Show Groups

If you’re using iCloud you’ll see an iCloud group. This is synced across all your iCloud-connected devices. If you’re aren’t using iCloud you should see an All Contacts group in addition to any other groups you may have created. This syncs only on your local hard drive.

Turning the Contacts service on is simple, all you need to do is flip the service’s switch on.

1. Select the Contacts service in the sidebar of the Server app 2. Turn the Contacts service on Once the Contacts service is turned on it’s simple to get the contacts app set up with it.

If you don’t have a server account set up on your Mac

1. Open System Preference­s 2. Select the Internet Accounts preference 3. Scroll to the bottom of the list of preconfigu­red accounts 4. Select ‘Server account’ 5. Authentica­te as one of the users you created when you set up Open Directory. (Remember, if you haven’t set up Open Directory you’ll need to jump back to our Primer on Profile Manager.) 6. Select Contacts from the list of available services on you server As soon as you turn a new service on in the Server app, that service immediatel­y becomes available on any device already connected to your server. But you do need to enable that service on every device you want to have access to that service:

1. Open System Preference­s 2. Select the account you created before

3. Put a check in the box next to Contacts 4. Close System Preference­s Now go back and look at the sidebar in the Contacts app. You should now see new items in the list which includes contacts stored in your shared directory on your server. If you select that directory in Contacts you should note that there are no contacts listed. To create a contact in your server’s directory:

1. Select your server’s directory in the sidebar of the Contacts app 2. Click the ‘+’ button at the bottom of the Contact window

3. Select .New Contact 4. Enter a first name, last name, and add an email address, then click Done. Note: For testing purposes, enter an email address you know isn’t already in your contacts list, even if that means adding a fake email address To test the Contacts service:

1. Open the Mail app 2. Create a new email message 3. Begin typing the name of the user created in the previous step

You should see the name of your test user and the new email address you created show up in the Mail App’s autocomple­te list. Additional­ly, any other devices you use that are authentica­ted to this server account will have access to contacts created and stored on your server. You can think of it as your own private iCloud-ish contacts list. Server’s Contacts service offers one more directory option that is as simple as putting a check in a box. When you put a check in the box that says, ‘Allow users to search the directory using the Contacts applicatio­n’ lets users to use informatio­n stored in your Open Directory database. So, any users you’ve created or imported into Open Directory that has related contact informatio­n will also be made available to anyone connected to your Calendar service.

 ??  ??
 ??  ??
 ??  ??
 ??  ??

Newspapers in English

Newspapers from Australia