
208 Appendix A Importing and Exporting Account Information
4 To export all accounts listed, select all of them. To export a specific account, select it. To
export multiple accounts, select them while holding down the Command or Shift key.
5 Choose Export from the Server menu.
6 Specify the name to assign to the export file and the location where you want it
created.
7 Click Export.
Using dsimport to Import Users and Groups
You can use the dsimport command-line tool to import user and group accounts into
a directory. dsimport permits logging at three levels with the -l switch. See the man
page for instructions, or the command-line administration guide.
Using XML Files Created With Mac OS X Server v10.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 the LDAP directory of an Open Directory master or a
NetInfo domain using Workgroup Manager or dsimport.
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:
• indication of whether user can log in
• indication of whether user is a server administrator
• <User ID>
• <primary group ID>
• shell
• comment
• <short name>
• <long name>
• <password format> and <password text>
• Apple mail data
• ara (Apple Remote Access; this data is ignored)
The following group account attributes might be present in these XML files:
• <group name>
• <group ID>
• <one member’s short name>
• other members’ short names
Komentáře k této Příručce