A primer in OS X Server's Profile Manager

More Stories in this Series

A primer in Profile Manager: Payloads for OS X part 2

osx server profile manager

This is episode 12 in our series on setting up and managing devices using Server’s Profile Manager service.

If you’re just tuning in now, you’ll want to look at:

Last episode we took an initial look at OS X-only configuration options available in Profile Manager. This week we’ll finish looking at options for configuring OS X devices with Profile Manager.

Reminder: These exercises require that you have a device enrolled in Profile Manager. If you’ve un-enrolled your device, go back to Enrolling and Managing Devices to get a device added to Profile Manager.

Directory payload

One of the benefits of using Profile Manager is automatically binding your device to your Directory Server, whether that server is a Mac running Open Directory or a Windows server running Active Directory. Since we already have a server running Open Directory in our network (Ahem...that’s the same Mac that’s running Profile Manager), we’ll automatically bind your enrolled device to the Open Directory server.

First, let’s have a look at our device and make sure it isn’t already bound to your Profile Manager server or any other server.

  1. On your managed Mac, open System Preferences.
  2. Click the Users & Groups preference.
  3. Click the lock and authenticate as an administrative user.
  4. Click Login Options at the bottom of the user account list.
  5. Verify that there is only a Join button and no information about a connected network server listed.
    nobinding

If there is a server listed:

  1. Click the Edit button.
  2. Select the server from the list of bound servers.
  3. Click the "-" button.
  4. Click the button that says Stop Using Server.
  5. Click the Done button.

Leave the Users & Groups Login Options preference open and visible as you complete the next few steps.

  1. Connect and login to your Profile Manager server: http://yourserver.yourdomain.com/profilemanager
  2. Select Devices in the Profile Manager sidebar.
  3. Select your enrolled device from the device list.
  4. Click the Settings tab and click the Edit button.
  5. Scroll down the the OS X-only payloads and select the Directory payload.
  6. Click the Configure button.
  7. Choose Open Directory/LDAP for Directory Type.
  8. Enter the fully qualified domain name for your Profile Manager server. Optionally:
  9. Enter your directory administrator userid.
  10. Enter the directory administrator’s password.
  11. Enter a Client ID for the device. Note: These optional steps would be required if you were binding to an Active Directory server.
    bindsettings
    Keep an eye on the Users & Groups preference window as you perform the next steps.
  12. Click OK.
  13. Click Save.

Note that, after a few seconds, your Mac is now bound to your Profile Manager server.

bound

You can verify that this is working by logging in to your Mac using one of the accounts you created in Add Users, Enable Device Management.

  1. Log out of your Mac.
  2. Depending on your login window settings, you should see either a list of users or name and password fields. If you see a list, click Other, then enter a user id and password you created in Add Users, Enable Device Management.
    login
    A new Home Folder for this user will be created in your Users folder, after which you will be logged in and you should see this user’s Desktop.
  3. Log out.

Energy Saver payload

The Energy Saver payload lets you define settings for when computers should sleep, whether they should restart after a power failure, and offers specific settings for desktop and portable devices. But you can also use this payload to make sure computers are turned off at night and turned back on again before employees arrive for work in the morning. For now we’ll create a payload that shuts your computer down at a specific time.

  1. Open Profile Manager.
  2. Select your device from the Profile Manager sidebar.
  3. Select the Energy Saver payload.
  4. Click the Configure button.
  5. Click the Schedule tab.
  6. Put a check in the second check box.
  7. Change the menu to Shut Down.
  8. Change the schedule menu to Every Day.
  9. Set the time for shut down to two minutes into your future. (i.e., if your current time is 2:23 p.m., set the time to 2:25 p.m.)
    essettings
  10. Click Okay.
  11. Click Save.
  12. Wait. When the clock strikes the time you entered in the shut down field, you’ll see a message about a scheduled shut down.
    shutdown
  13. Click the cancel button.
  14. Open Profile Manager and edit the device payload.
  15. Select the Energy Saver payload.
  16. Click the "-" that appears at the upper-right-hand side of the Energy Saver payload.
    removesettings
  17. Click OK.
  18. Click Save.

Clicking that minus sign removes the payload from your device, so your Mac will no longer shut down.

What’s next

We’ve played quite a bit with these settings over the last several lessons and, by now, you should be able to create some pretty sophisticated settings for your Mac. Play a little bit on your own, that is, if you haven’t done that already. Create your own configuration that uses advantage of several of these payloads at a time.

Next we’ll have a look at iOS-specific payloads.

Subscribe to the Best of Macworld Newsletter

Comments