Red Hat DIRECTORY SERVER 7.1 SP7 - S Anleitung zur Fehlerbehebung Seite 29

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 120
  • Inhaltsverzeichnis
  • FEHLERBEHEBUNG
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 28
Troubleshooting LDIF Files 29
5.1.3 LDIF Change Records
LDIF change records contain modifications to be made to a directory. Any of the LDAP update
operations (add, delete, modify, and modify DN) can be represented in an LDIF change record.
LDIF change records use the same format for the distinguished name specifier, attribute value
specifier, and record delimiter as LDIF content records. (See “LDIF Content Records” on page 28 for
more information.) The presence of a
changetype
field is what distinguishes an LDIF change record
from an LDIF content record. A
changetype
field identifies the operation specified by the change
record.
A
changetype
field can take one of the following five forms:
The Add Change Type
An add change record looks just like a content change record (see “LDIF Content Records” on
page 28) with the addition of the changetype: add field immediately before any attribute value fields.
All records must be the same type. You can’t mix content records and change records.
Record Delimiters Blank lines (lines 5, 10, 15, and 26 in the example above) are used
as record delimiters.
Every record in an LDIF file including the last record must be
terminated with a record delimiter (one or more blank lines).
Although some implementations will silently accept an LDIF file
without a terminating record delimiter, the LDIF specification
requires it.
Attribute Value Specifier All other lines in a content records are value specifiers. Value
specifiers must take on one of the following three forms:
Attribute description: value
Attribute description:: Base64_encoded_value
Attribute description: < URL
Component Description
Form Description
changetype: add A keyword indicating that the change record specifies an LDAP add
operation.
changetype: delete A keyword indicating that the change record specifies an LDAP delete
operation.
changetype: moddn A keyword indicating that the change record specifies an LDAP modify
DN operation if the LDIF processor is bound to the LDAP server as a
version 3 client or a modify RDN operation if the LDIF processor is
bound to the LDAP server as a version 2 client.
changetype: modrdn A synonym for the moddn change type.
changetype: modify A keyword indicating that the change record specifies an LDAP modify
operation.
Seitenansicht 28
1 2 ... 24 25 26 27 28 29 30 31 32 33 34 ... 119 120

Kommentare zu diesen Handbüchern

Keine Kommentare