18.07.2014 Views

Novell eDirectory 8.8 Troubleshooting Guide - NetIQ

Novell eDirectory 8.8 Troubleshooting Guide - NetIQ

Novell eDirectory 8.8 Troubleshooting Guide - NetIQ

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

objectclasses: (2.16.840.1.113719.1.186.6.101 NAME<br />

’bearFeatures’ MAY (bearHair $ bearPicture) AUXILIARY)<br />

# now create a user named bobby<br />

dn: cn=bobby,o=bearcave<br />

changetype: add<br />

cn: bobby<br />

sn: bear<br />

givenName: bobby<br />

bearHair: Short<br />

bearHair: Brown<br />

bearHair: Curly<br />

bearPicture:< file:///c:/tmp/alien.jpg<br />

objectClass: top<br />

objectClass: person<br />

objectClass: inetOrgPerson<br />

objectClass: bearFeatures<br />

novdocx (en) 6 April 2007<br />

# now create a person named john that will later be changed<br />

# into a bear when bearFeatures is added to its objectClass<br />

# list<br />

dn: cn=john,o=bearcave<br />

changetype: add<br />

cn: John<br />

sn: bear<br />

givenName: john<br />

objectClass: top<br />

objectClass: person<br />

objectClass: inetOrgPerson<br />

# now morph john into a bear by adding bearFeatures<br />

dn: cn=john,o=bearcave<br />

changetype: modify<br />

add: objectClass<br />

objectClass: bearFeatures<br />

-<br />

add: bearHair<br />

bearHair: long<br />

bearHair: black<br />

#bearPicture:< file:///c:/tmp/john.jpg><br />

-<br />

# to morph john back to a person, simply delete the<br />

# objectClass bearFeatures<br />

dn: cn=john,o=bearcave<br />

changetype: modify<br />

delete: objectClass<br />

objectClass: bearFeatures<br />

When removing auxiliary classes, you don't have to delete all of the values associated with the<br />

auxiliary class when you remove the auxiliary class from the objectClass list. <strong>eDirectory</strong> does this<br />

automatically.<br />

<strong>Troubleshooting</strong> LDIF Files 41

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!