beautypg.com

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

Page 189

background image

Users and Groups

189

-yrpwd password

is the password for logging in to a remote Mac OS X Server identified in the -y parameter.

-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 export users and groups:

1

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

2

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

Using XML Files Created With Mac OS X Server 10.1 or Earlier

You can use Server Admin to create an export file from Mac OS X Server versions 10.1 or
earlier, and import that file into a NetInfo or LDAPv3 directory domain using Workgroup
Manager or dsimportexport.

The following user account attributes are exported into these XML files. Attributes in angle
brackets (<>) are required and will generate an error if absent when you use the file as an
import file:

m indication of whether user can log in

m indication of whether user is a server administrator

m

m

m shell

m comment

m

m

m and

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