Apple Mac OS X Server Print Service Administration For Version 10.4 or Later Instrukcja Użytkownika Strona 211

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 232
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 210
Appendix A Importing and Exporting Account Information 211
Here is an example of a record description:
0x0A 0x5C 0x3A 0x2C dsRecTypeStandard:Users 7
RecordName Password UniqueID PrimaryGroupID
RealName NFSHomeDirectory UserShell
Here is an example of a record encoded using the description:
jim:Adl47E$:408:20:J. Smith, Jr., M.D.:/Network/Servers/somemac/
Homes/jim:/bin/csh
The record consists of values, delimited by colons. Use a double colon (::) to indicate a
value is missing.
When importing user passwords, you can insert the following in the list of attributes to
set the users password type to Open Directory:
dsAttrTypeStandard:AuthMethod
The method for setting an imported users password type to Open Directory requires
that the imported data actually have a password value. If the password value is missing
for a user, then the corresponding user record will be created with a password type of
crypt or shadow password.
Then insert the following in the formatted record (in this example, the user s password
is “password”):
dsAuthMethodStandard\:dsAuthClearText:password
Note: In this example, the colon (:) is the field separator. Because there is a colon in the
description for this attribute, the escape character must be used to indicate the colon
should not be treated as a delimiter. The backslash ( \ ) is the escape character in this
example. If the field separator is anything other than the colon, the escape character is
not needed.
This is an example of a header from a standard users import file with users who use the
Password Server. It must be typed as one line of text in which the elements are
separated by spaces and without line breaks, as presented here. Although your browser
will wrap the text for presentation, you can see that it contains no line breaks if you
copy and paste it into a text editor that has wrapping turned off:
0x0A 0x5C 0x3A 0x2C dsRecTypeStandard:Users 8
dsAttrTypeStandard:RecordName dsAttrTypeStandard:AuthMethod
dsAttrTypeStandard:Password dsAttrTypeStandard:UniqueID
dsAttrTypeStandard:PrimaryGroupID dsAttrTypeStandard:Comment
dsAttrTypeStandard:RealName dsAttrTypeStandard:UserShell
Przeglądanie stron 210
1 2 ... 206 207 208 209 210 211 212 213 214 215 216 ... 231 232

Komentarze do niniejszej Instrukcji

Brak uwag