Apple Mac OS X Server (Administrator’s Guide) User Manual
Page 182
![background image](/manuals/44541/182/background.png)
182
Chapter 3
-s
imports accounts from an XML file formatted as “Using XML Files Created With Mac OS X
Server 10.1 or Earlier” on page 186 describes.
-p
imports accounts from an XML file formatted as “Using XML Files Created With
AppleShare IP 6.3” on page 186 describes.
file
names the file from which you want to import accounts, including the path to the file. For
example, /tmp/Import1.
directoryDomain
is the full path to the NetInfo or LDAPv3 directory domain into which you want to import
the accounts. For a NetInfo domain, you might type “NetInfo/root/someDomain”. For an
LDAPv3 domain, an example is “LDAPv3/ldap.example.com”.
userName
is the full or short name of a user who has domain administrator privileges for the
directory domain.
password
is the password associated with the userName you specify.
O
overwrites any existing record in the directory domain with the value(s) in the attribute(s)
identified using the -k option.
M
merges data from the import file into an existing account, using the value(s) in the
attribute(s) identified using the -k option when the data is for an attribute that currently
has no value.
I
ignores an account in the import file if a record with the same value(s) in the attribute(s)
identified using the -k option already exists in the directory domain.
A
appends data to existing data for a particular multivalue attribute in an account in the
directory domain with the value(s) in the attribute(s) identified using the -k option.
Duplicates are not created. This option might be used, for example, when importing new
members into an existing group.