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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

attributeTypes: ( 2.16.840.1.113719.1.186.4.11 NAME<br />

’bearPicture’ SYNTAX 1.3.6.1.4.1.1466.115.121.1.5<br />

SINGLE-VALUE )<br />

# create an Auxiliary class for the bearfeatures<br />

dn: cn=schema<br />

changetype: modify<br />

add: objectclasses<br />

objectclasses: (2.16.840.1.113719.1.186.6.101 NAME<br />

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

novdocx (ENU) 01 February 2006<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 />

# 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 />

<strong>Troubleshooting</strong> LDIF Files 37

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

Saved successfully!

Ooh no, something went wrong!