LDAP-UX Client Services B.04.15 Administrator's Guide
6.5.4.2 Defining Attribute Types
Each attribute type definition, enclosed by <attributeTypeDefinition> tags, can contain
the following case-sensitive tags, in the order specified:
<oid>
Required. Exactly one numeric id must be specified. The <oid>
value must adhere to RFC 2252 format specification.
<name>
Required. At least one attribute type name must be specified.
Do not use quotes around the name values. The <name> value
must adhere to RFC 2252 format specification.
<displayName>
Optional. At most one display name can be specified. This tag
specifies a display name of the attribute type used by LDAP
clients and administrative tools. Currently, <displayName>
applies only to Active Directory Server (ADS) to specify
lDAPDisplayName and adminDisplayName if different from
the <name> value.
<desc>
Optional. At most one description can be specified. Do not use
quotes around the description value.
<obsolete>
Optional, use only if applicable. Obsolete attribute types cannot
be used in definitions of any other attribute types or object
classes. At most one obsolete flag can be specified.
<subTypeOf>
Optional, use if an attribute type has a super-type. At most one
super-type can be specified. The specified super-type must
already exist on the LDAP directory server, or its definition must
be specified in the same schema definition file.
<equality>
Optional. At most one equality rule can be specified.
<ordering>
Optional. At most one ordering rule can be specified.
<substr>
Optional. At most one substring matching rule can be specified.
<syntax>
Required if an attribute type has no super-type. At most one
LDAP syntax value can be specified.
<length>
Optional indication of the maximum length of a value of this
attribute. RFC 2252 specifies this value in curly braces following
the attribute type’s syntax. For instance, "1.3.6.4.1.1466.0{64}”
can be expressed using the following tags:
<syntax>1.3.6.4.1.1466.0</syntax>
<length>64</length>
At most one syntax length value can be specified. <length>
must contain a positive integer value.
<singleValued> Optional, use if the SINGLE-VALUE flag is set. At most one
singleValued flag can be specified.
<collective> Optional, use if the COLLECTIVE-VALUE flag is set. At most one
collective flag can be specified.
<noUserModification> Optional, use if NO-USER-MODIFICATION flag is set. At most
one noUserModification flag can be specified.
<usage>
Optional, must contain one of the following possible values:
• userApplications
• directoryOperation
• distributedOperation
• dSAOperation
At most one usage value can be specified..
6.5 Schema Extension Utility 211