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.2 Adding a New Attribute<br />
To add an attribute, simply add an attribute value that conforms to the specification for<br />
NDSAttributeTypeDescription to the attributes attribute of the subschemaSubentry.<br />
NDSAttributeTypeDescription = "(" whsp<br />
numericoid whsp ; AttributeType identifier<br />
[ "NAME" qdescrs ] ; name used in AttributeType<br />
[ "DESC" qdstring ] ; description<br />
[ "OBSOLETE" whsp ]<br />
[ "SUP" woid ] ; derived from this other AttributeType<br />
[ "EQUALITY" woid] ; Matching Rule name<br />
[ "ORDERING" woid] ; Matching Rule name<br />
[ "SUBSTR" woid ] ; Matching Rule name<br />
[ "SYNTAX" whsp noidlen whsp ] ; Syntax OID<br />
[ "SINGLE-VALUE" whsp ] ; default multi-valued<br />
[ "COLLECTIVE" whsp ] ; default not collective<br />
[ "NO-USER-MODIFICATION" whsp ] ; default user modifiable<br />
[ "USAGE" whsp AttributeUsage ] ; default userApplications<br />
[ "X-NDS_PUBLIC_READ" qdstrings ]<br />
; default not public read (’0’)<br />
[ "X-NDS_SERVER_READ" qdstrings ]<br />
; default not server read (’0’)<br />
[ "X-NDS_NEVER_SYNC" qdstrings ]<br />
; default not never sync (’0’)<br />
[ "X-NDS_NOT_SCHED_SYNC_IMMEDIATE" qdstrings ]<br />
; default sched sync immediate (’0’)<br />
[ "X-NDS_SCHED_SYNC_NEVER" qdstrings ]<br />
; default schedule sync (’0’)<br />
[ "X-NDS_LOWER_BOUND" qdstrings ]<br />
; default no lower bound(’0’)<br />
;(upper is specified in SYNTAX)<br />
[ "X-NDS_NAME_VALUE_ACCESS" qdstrings ]<br />
; default not name value access (’0’)<br />
[ "X-NDS_NAME" qdstrings ] ; legacy NDS name<br />
whsp ")"<br />
novdocx (en) 22 June 2009<br />
The following example LDIF file adds the title attribute type to the schema:<br />
1 version: 1<br />
2 dn: cn=schema<br />
3 changetype: add<br />
4 attributeTypes: ( 2.5.4.12 NAME ’title’ DESC ’Standa<br />
5 rd Attribute’ SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{<br />
6 64} X-NDS_NAME ’Title’ X-NDS_NOT_SCHED_SYNC_IMMEDIA<br />
7 TE ’1’ X-NDS_LOWER_BOUND ’1’)<br />
8<br />
Single-Valued versus Multivalued<br />
An attribute defaults to multivalued unless it is explicitly made single-valued. The following<br />
example LDIF file makes title single-valued by adding the SINGLE-VALUE keyword after the<br />
SYNTAX section:<br />
<strong>Troubleshooting</strong> LDIF Files 41