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

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 120
  • Inhaltsverzeichnis
  • FEHLERBEHEBUNG
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 42
Troubleshooting LDIF Files 43
# now create a person named john that will later be changed
# into a bear when bearFeatures is added to its objectClass
# list
dn: cn=john,o=bearcave
changetype: add
cn: John
sn: bear
givenName: john
objectClass: top
objectClass: person
objectClass: inetOrgPerson
# now morph john into a bear by adding bearFeatures
dn: cn=john,o=bearcave
changetype: modify
add: objectClass
objectClass: bearFeatures
-
add: bearHair
bearHair: long
bearHair: black
#bearPicture:< file:///c:/tmp/john.jpg>
-
# to morph john back to a person, simply delete the
# objectClass bearFeatures
dn: cn=john,o=bearcave
changetype: modify
delete: objectClass
objectClass: bearFeatures
When removing auxiliary classes, you don't have to delete all of the values associated with the
auxiliary
class when you remove the
auxiliary
class from the objectClass list. eDirectory does this
automatically.
If the
auxiliary
class had
MUST
attributes, they must all be specified in the same modify operation
that adds the
auxiliary
class to the objectClass list, or the modification will fail.
Known Problems with XML Parsing
XML processing of any LDIF Record (LDIF format or records generated from LDAP server) will not
succeed if the individual records will not satisfy all the XML rules specified in the XML file.
Seitenansicht 42
1 2 ... 38 39 40 41 42 43 44 45 46 47 48 ... 119 120

Kommentare zu diesen Handbüchern

Keine Kommentare