Apple Mac OS X Server Print Service Administration For Version 10.4 or Later Uživatelský manuál Strana 210

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 232
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 209
210 Appendix A Importing and Exporting Account Information
The first record in the file must characterize the format of each account in the file.
There are three options:
Write a full record description.
Use the shorthand “StandardUserRecord.”
Use the shorthand “StandardGroupRecord.”
The other records in the file describe user or group accounts, encoded in the format
described by the first record.
Writing a Record Description
A record description identifies the fields in each record you want to import from a
character-delimited file; it indicates how records, fields, and values are separated; and it
describes the escape character that precedes special characters in a record. Encode the
record description using the following elements in the order specified, separating them
using a space:
End-of-record indicator (in hex notation)
Escape character (in hex notation)
Field separator (in hex notation)
Value separator (in hex notation)
Type of accounts in the file (dsRecTypeStandard:Users or dsRecTypeStandard:Groups)
Number of attributes per account
List of attributes
For user accounts, the list of attributes must have a record name and should include
the following in order to be complete:
RecordName (the user’s short name)
RealName (the users long name)
NFSHomeDirectory
Password
UniqueID (the User ID)
1
PrimaryGroupID
1
In addition, you can include:
UserShell (the default shell)
NFSHomeDirectory (the path to the user’s home directory on the users computer)
Other user data types described in the Open Directory administration guide
For group accounts, the list of attributes must include:
RecordName (the group name)
PrimaryGroupID (the group ID)
GroupMembership
1.
You can omit these if you specify a starting user ID and a default primary group ID when you import the file.
Zobrazit stránku 209
1 2 ... 205 206 207 208 209 210 211 212 213 214 215 ... 231 232

Komentáře k této Příručce

Žádné komentáře