Schema attribute syntax

The attributes which are used in the schema entry use specific character representations in their values. These character representations are described in Table 1. The terms shown in this table are used in the schema attribute definitions in the next section.

Table 1. Character representations
Term Definition
noidlen Represented as:

numericoid{length}

where length is a numeric string representing the maximum length of values of this attribute type.

Example:

1.3.6.1.4.1.1466.115.121.1.7{5}

Implementation note: The z/OS® LDAP server allows values to be any length, regardless of the specification of a length in the attribute type definition. User installations that want to limit the length of values must handle this during data input.

numericoid A dotted decimal string.

Example:

2.5.13.72

Note: A non-numeric object identifier, for example myattr-oid, can be used instead of a numeric object identifier.
oid A single object identifier. This might be specified either as a name or as a numeric object identifier.

Examples:

name
2.5.4.41
oidlist A list of object identifiers specified as names or numeric object identifiers separated by dollar signs ($) within parentheses.

Example:

( cn $ sn $ postaladdress $ 2.5.4.6 )
oids Either an oid or oidlist.
qdescrs A quoted description shown as descr for one and as (’descr’ ’descr’) for more than one. The description (descr) must have an alphabetic character as the first character, followed by any combination of alphabetic or numeric characters, the dash character (-), or the semicolon character (;). Each value must be in single quotation marks ().

If there is more than one value, they must be enclosed in parentheses.

Examples:

’x121address’
(’cn’ ’commonName’)
’userCertificate;binary’
Note: Although the LDAP V3 protocol does not support an underscore character (_) as a valid character in a descr, the z/OS LDAP server allows the use of an underscore character to facilitate data migration. This use should be minimized whenever possible and might not be supported by other servers.
qdstring A quoted descriptive string shown as dstring. The descriptive string (dstring) is composed of one or more UTF-8 characters.

Example:

’This is an example of a quoted descriptive string.’