Case Exact String

Is used in attributes whose values are strings for which the case (upper or lower) is significant when performing comparisons.

Syntax ID

#define SYN_CE_STRING 2

LDAP Name

IA5 String

ASN1.ID

1.3.6.1.4.1.1466.115.121.1.26 (LDAP) 2.16.840.1.113719.1.1.5.1.2 (NDAP)

API Data Structure

typedef pnstr8 CE_String_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.

Attributes using this syntax can set size limits.

Two case exact strings match for equality when they are of same length and their corresponding characters are identical. For example, “Dundee” and “DUNDEE” do not match.

In comparing case exact strings, the following spaces are not significant:

  • Leading spaces (precede the first printing character)

  • Trailing spaces (follow the last printing character)

  • Multiple consecutive internal spaces (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.

Used In