Database Attributes under cn=default indexes, cn=config, cn=ldbm database, cn=plugins, cn=config
187
Attribute
Definition
cn
Gives the common name of the entry.
nsSystemIndex
Identify whether or not the index is a system
defined index.
Allowed Attributes
Attribute
Definition
description
Gives a text description of the entry.
nsIndexType
16
Identifies the index type.
nsMatchingRule
17
Identifies the matching rule.
3.4.5.4. nsIndexType
This optional, multi-valued attribute specifies the type of index for Directory Server operations and
takes the values of the attributes to be indexed. Each desired index type has to be entered on a
separate line.
Parameter
Description
Entry DN
cn=default indexes, cn=config, cn=ldbm
database, cn=plugins, cn=config
Valid Values
• pres = presence index
• eq = equality index
• approx = approximate index
• sub = substring index
• matching rule = international index
• index browse = browsing index
Default Value
Syntax
DirectoryString
Example
nsIndexType: eq
3.4.5.5. nsMatchingRule
This optional, multi-valued attribute specifies the ordering matching rule name or OID used to match
values and to generate index keys for the attribute. This is most commonly used to ensure that
equality and range searches work correctly for languages other than English (7-bit ASCII).
This is also used to allow range searches to work correctly for integer syntax attributes that do not
specify an ordering matching rule in their schema definition.
uidNumber
and
gidNumber
are two
commonly used attributes that fall into this category.
For example, for a
uidNumber
that uses integer syntax, the rule attribute could be
nsMatchingRule: integerOrderingMatch
.
Summary of Contents for 8.1
Page 8: ...viii ...
Page 14: ...xiv ...
Page 16: ...2 ...
Page 250: ...236 ...
Page 334: ...320 ...
Page 372: ...358 ...