8.0 Attribute Syntax Definitions

This chapter lists alphabetically all the attribute syntax definitions that are in the operational schema.

For the NWDS functions and those built on top of them, the nwdsdefs.h file contains an enumerated data type for each syntax. The last member of the structure is SYNTAX_COUNT, which is not syntax type, but a count that returns the number of syntaxes defined in the enumeration.

For LDAP, the syntax types use the following data types that are specific to LDAP. UTF8 (Universal Transformation Format) is a method for converting 16-bit Unicode characters into 8-bit characters.

Data Type

Description

dstring

A UTF8 encoded string.

distinguishedname

LDAP string format of the distinguished name (CN=Kim, OU=Sales, O=Widget, Inc.). See RFC 2253 for more information.

LDAPDN

LDAP format of the distinguished name (CN=Kim, OU=Sales, O=Widget, Inc.), BER encoded

LDAPString

A type and length preceded string, BER encoded

octetstring

Opaque data in an application-defined format

unit16string

A numeric string with an upper bound of 65535

uint32string

A numeric string with an upper bound of 429467295

For an explanation of the types of information included about each syntax, see Reading Syntax Definitions.