Using workgroup manager to export users and groups, Using dsimportexport to import users and groups – Apple Mac OS X Server (version 10.2.3 or later) User Manual
Page 184

184
Chapter 3
Using Workgroup Manager to Export Users and Groups
You can use Workgroup Manager to export user and group accounts from a NetInfo or
LDAPv3 directory domain into a character-delimited file that you can import into a different
NetInfo or LDAPv3 directory domain.
To export accounts using Workgroup Manager:
1
In Workgroup Manager, click the Accounts button, then use the At pop-up menu to open the
directory domain from which you want to export accounts.
2
Click the lock to authenticate as domain administrator.
3
Select the user list tab to export users or the group list tab to export groups.
4
To export all accounts listed, don’t select any of them. To export a specific account, select it.
To export multiple accounts, select them while holding down the Command or Shift key.
5
Choose Export from the Server menu.
6
Specify the name to assign to the export file and the location where you want it created.
7
Click Export.
Using dsimportexport to Import Users and Groups
You can use dsimportexport to import user and group accounts into a NetInfo or LDAPv3
directory domain.
Here are the parameters that dsimportexport accepts when importing user and group
accounts. Parameters are delimited using angle brackets (<>) if they are required and
square brackets ([]) if they are optional:
dsimportexport <-g or -s or -p>
[-r primaryGroupID] [-k keyIndex ...] [-n recNameIndex] [-v]
[-T standardRecordType] [-yrnm userName] [-yrpwd password]
[-y ipAddress] [-V] [-h] [-err]
where
-g
imports accounts from a character-delimited file. See “Using Character-Delimited Files” on
page 191 for information about the format of this kind of file.
-s
imports accounts from an XML file formatted as “Using XML Files Created With Mac OS X
Server 10.1 or Earlier” on page 189 describes.
LL0395.Book Page 184 Wednesday, November 20, 2002 11:44 AM