Technical professionals. Trusted advisors. Certified expertise.

HCS Blog

Problem-solving by Apple Certified Professionals

Exporting Users and Groups in OS X Server for Yosemite

With Workgroup Manager's departure in OS X Server for Yosemite, administrators are left without a GUI-based way to export users and groups out of Open Directory. While Workgroup Manager contained funcitons for both importing and exporting records, the Server app only has the ability to import records from properly formatted files (like the files that Workgroup Manager would generate). Thankfully, we have a full suite of "ds" commands on the command line to generate the files for us.

For Users:

dsexport /Users/Shared/exportedUserRecords.out /LDAPv3/127.0.0.1 dsRecTypeStandard:Users

For Groups:

dsexport /Users/Shared/exportedGroupRecords.out /LDAPv3/127.0.0.1 dsRecTypeStandard:Groups

Of course, you can take any record type and do exports using this method and the proper "dsRecTypeStandard:" definition. If you prefer the command line, dsimport can handle your imports for you, rather than the GUI of Server app.

×
Stay Informed

When you subscribe to the blog, we will send you an e-mail when there are new updates on the site so you wouldn't miss them.

How to send Ctrl-Alt-Del to a Windows 2012 server ...
createinstallmedia a one-time thing in Yosemite

Locations


New York

Connecticut
Florida
Louisiana
Chicago

Corporate Headquarters
New York

80 Orville Drive Suite 100
Bohemia, NY 11716
Tel: (866) 518-9672
This email address is being protected from spambots. You need JavaScript enabled to view it.

Connecticut

65 High Ridge Road #510
Stamford, CT 06905
Tel: (866) 518-9672
This email address is being protected from spambots. You need JavaScript enabled to view it.

Florida

3321 SW 194th Terrace
Miramar, FL 33029
Tel: (866) 518-9672
This email address is being protected from spambots. You need JavaScript enabled to view it.

Louisiana

218 Barksdale Drive
Broussard LA 70518
This email address is being protected from spambots. You need JavaScript enabled to view it.

Chicago

4 Knollwood Place
Joliet, IL 60433
This email address is being protected from spambots. You need JavaScript enabled to view it.

London

10 Grosvenor Court
Rayners Road
London SW15 2AX UK

Stay Connected

© Copyright 2023, HCS Technology Group. All Rights Reserved.