Novell eDirectory 8.8 Troubleshooting Guide - NetIQ
Novell eDirectory 8.8 Troubleshooting Guide - NetIQ
Novell eDirectory 8.8 Troubleshooting Guide - NetIQ
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
5.3.1 Adding a New Object Class<br />
To add a class, simply add an attribute value that conforms to the specification for<br />
NDSObjectClassDescription to the objectClasses attribute of the subschemaSubentry.<br />
NDSObjectClassDescription = "(" whsp<br />
numericoid whsp<br />
[ "NAME" qdescrs ]<br />
[ "DESC" qdstring ]<br />
[ "OBSOLETE" whsp ]<br />
[ "SUP" oids ]<br />
[ ( "ABSTRACT" / "STRUCTURAL" / "AUXILIARY" ) whsp ]<br />
[ "MUST" oids ]<br />
[ "MAY" oids ]<br />
[ "X-NDS_NOT_CONTAINER" qdstrings ]<br />
[ "X-NDS_NONREMOVABLE" qdstrings ]<br />
[ "X-NDS_CONTAINMENT" qdstrings ]<br />
[ "X-NDS_NAMING" qdstrings ]<br />
[ "X-NDS_NAME" qdstrings ]<br />
whsp ")"<br />
novdocx (ENU) 01 February 2006<br />
The following example LDIF file adds the person objectClass to the schema:<br />
1 version: 1<br />
2 dn: cn=schema<br />
3 changetype: add<br />
4 objectClasses: ( 2.5.6.6 NAME ’person’ DESC ’Standard<br />
5 ObjectClass’ SUP ndsLoginProperties STRUCTURAL MUST<br />
6 (cn $ sn) MAY (description $ seeAlso $ telephoneNum<br />
7 ber $ fullName $ givenName $ initials $ uid $ userPa<br />
8 ssword) X-NDS_NAMING (’cn’ ’uid’) X-NDS_CONTAINMENT<br />
9 (’organization’ ’organizationalUnit’ ’domain’) X-NDS<br />
10 _NAME ’Person’ X-NDS_NOT_CONTAINER ’1’ X-NDS_NONREMO<br />
11 VABLE ’1’)<br />
12<br />
Mandatory Attributes<br />
Mandatory attributes are listed in the MUST section of the object class description. For the person<br />
object class, the mandatory attributes are cn and sn.<br />
Optional Attributes<br />
Optional attributes are listed in the MAY section of the object class description. The optional<br />
attributes in the person object class are description, seeAlso, telephoneNumber, fullName,<br />
givenName, initials, uid, and userPassword.<br />
NOTE: The userPassword attribute cannot be used as an optional (MAY) attribute. The operation<br />
will fail if you try to use it as a mandatory (MUST) attribute in the new objectClass using this LDIF<br />
format to extend the schema.<br />
34 <strong>Novell</strong> <strong>eDirectory</strong> <strong>8.8</strong> <strong>Troubleshooting</strong> <strong>Guide</strong>