Previous Topic: Local Schema

Next Topic: Attribute Names

Attributes

An attribute is the foundation of directory information. It consists of a type and one or more values.

For example, in one entry, the attribute commonName could have the values Rick and Richard.

You define an attribute in the configuration file with information about its object identifier (OID), name, LDAP names, syntax, whether it is single-valued, whether its value can be modified, and a description.

There is no limit to the number of attributes or rules that you can define for a DSA or on the size of the attributes you can store in the DSA.

Example: Attribute Definition

set attribute x500attr:3 = {
	name			= commonName
	ldap-names	= cn
	syntax		= caseIgnoreString
	description	= "Common Name attribute"
};