Apple Mac OS X Server (Administrator’s Guide) User Manual
Page 185
![background image](/manuals/44541/185/background.png)
Users and Groups
185
file
names the file to which you want to export accounts, including the path to the file. For
example, /tmp/Export1. The file should not already exist.
directoryDomain
is the full path to the NetInfo or LDAPv3 directory domain from which you want to export
the accounts. For a NetInfo domain, you might type “NetInfo/root/someDomain”. For an
LDAPv3 domain, an example is “LDAPv3/ldap.example.com”.
-v
generates verbose output during export. Because this option generates a large amount of
status data for each account (including all data in the export file), use this option only
when debugging export files. The default status data are a count of the number of
accounts processed and the record name of the account currently being processed.
-d delimiter
is for character-delimited export files only. This parameter specifies four delimiters in this
order: end of record, escape, end of field, and end of value. The delimiters values must
be expressed using hex strings, for example, 0x0A. If you omit this parameter, the default
delimiters are \n (end of record, 0x0A), \ (escape, 0x5C), : (end of field, 0x3A), and , (end
of value, 0x2C).
-yrnm userName
is the user name for logging in to a remote Mac OS X Server identified in the -y parameter.
-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.