beautypg.com

Apple Mac OS X Server (version 10.2.3 or later) User Manual

Page 187

background image

Users and Groups

187

-y ipAddress

is the IP address of a remote Mac OS X Server from which the directory domain is visible.

-V

adds the version number of dsimportexport to the log file.

-h

displays usage information for dsimportexport.

-err

displays error information.

To use dsimportexport to import users and groups:

1

Create a character-delimited or XML file containing the accounts to import, and place it in a
location accessible from the server from which you will use the tool. Ensure the file contains
no more than 10,000 records.

See “Using XML Files Created With Mac OS X Server 10.1 or Earlier” on page 189, “Using XML
Files Created With AppleShare IP 6.3” on page 190, and “Using Character-Delimited Files” on
page 191 for infor
mation on creating files to import.

2

As domain administrator, log in to a server that has access to the directory domain into which
you want to import accounts.

3

Open the Terminal application and type the dsimportexport command. The dsimportexport
tool is located in /Applications/Utilities/Workgroup Manager.app/Contents/Resources.

Because there is a space in the path name, use quotation marks when typing it. For example:

“/Applications/Utilities/Workgroup Manager.app/Contents/Resources/dsimportexport” -h

4

If you want, use the createhomedir command-line tool to create home directories for
imported users. See “Using createhomedir to Create Home Directories” on page 165 for
instructions.

LL0395.Book Page 187 Wednesday, November 20, 2002 11:44 AM