7 Replies Latest reply: Apr 22, 2013 11:32 AM by macmiguel_support
elgringito Level 1 (25 points)

Hello everyone,


I am have a hard time upgrading from Lion Server to Mountain Lion Server, especially with Open Directory. What I wish to do, is to import the existing users and groups of an existing server running Lion Server into a new (fresh) Open Directory master created on another server that is running Mountain Lion Server.


I have tried several options. Those that did *not* work for me include:

  • Trying to make create a replica of the Lion Open Directory on the Mountain Lion Server
  • Trying to backup the OD of the Lion Server using slapconfig


What seems to work (for the moment), is to use the export feature of Work Group manager on Lion and to import the users/groups using the import feature of Mountain Lion Server app.


My question is: is there a command line way to do the export ? Since Work Group manager seems to be kind of deprecated in ML, I assume there must be some other way (i.e., from the command line) to do the user/group import and export.


Thanks for your help !

OS X Server, Mountain Lion Server