Class Name

Is used for attributes whose values represent object class names.

Syntax ID

#define SYN_CLASS_NAME 20

LDAP Name

OID

ASN1.ID

1.3.6.1.4.1.1466.115.121.1.38

API Data Structure

typedef pnstr8 Class_Name_T

Transfer Format

uint32    Length 
unicode   String

LDAP Format

string

Matching Rules

Remarks

For help in understanding the syntax definition template, see Reading Syntax Definitions.

The matching rule for values of Class Name are the same as those for Case Ignore String. That is, two Class Names match for equality when their lengths and corresponding characters are identical in all respects except that of case and spaces as described below.

In comparing attributes using the Class Name syntax, the following white space (spaces, tabs, etc.) is not significant:

  • Leading spaces (those preceding the first printable character)

  • Trailing spaces (those following the last printable character)

  • Multiple consecutive internal spaces (these are taken as equivalent to a single space character)

In matching attributes that conform to this syntax, eDirectory omits those spaces that are not significant (as defined above). eDirectory stores insignificant spaces with the attribute value.

In eDirectory, an object class name can be 32 characters long, and must be unique within its super class structure. Although eDirectory allows spaces and non-alphanumeric characters in the name, you should conform to LDAP naming conventions.

In LDAP, the name can be an alpha string with one hyphen (-) or a numeric string with a period (.) separating numbers. Spaces are not allowed. LDAP specifications recommend using an alpha string such as locality rather than a numeric string such as 2.5.6.3.

Used In