Using character-delimited files – Apple Mac OS X Server (Administrator’s Guide) User Manual
Page 187
![background image](/manuals/44541/187/background.png)
Users and Groups
187
m comment
m indication of whether user can log in
m
m Apple mail data
m indicator for whether the user is a server administrator, password change data, and
indicator for forcing a password to change (this data is ignored)
The dsimportexport tool generates UIDs when you import this XML file, using the -s
parameter to determine the UID to start with and incrementing each subsequently imported
account’s UID by one. It generates primary group IDs using the -r parameter. When you
import using Workgroup Manager, UIDs and primary group IDs are generated as you indicate
in the dialog box provided.
The following group account attributes might be present in these XML files:
m
m
m other members’ short names
dsimportexport generates group IDs when you import this XML file, using the -r parameter
to determine the group ID to start with and incrementing each subsequently imported
group’s ID by one. When you import using Workgroup Manager, group IDs are generated
using the information you provide for primary group IDs in the import dialog box.
Using Character-Delimited Files
You can create a character-delimited file by using Workgroup Manager or dsimportexport to
export accounts in NetInfo or LDAPv3 directory domains into a file. You can also create a
character-delimited file by hand or by using a database or spreadsheet application.
The first record in the file must characterize the format of each account in the file. There are
three options:
m Write a full record description.
m Use the shorthand “StandardUserRecord.”
m Use the shorthand “StandardGroupRecord.”
The other records in the file describe user or group accounts, encoded in the format
described by the first record.
Any line of a character-delimited file that begins with “#” is ignored during importing.