Nsindextype, Nsmatchingrule, Note – Red Hat 8.1 User Manual

Page 137: Nssystemindex

Advertising
background image

Attribute

Definition

objectClass

Defines the object classes for the entry.

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

Identifies the index type.

nsMatchingRule

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
.

NOTE

Any change to this attribute will not take effect until the change is saved and the index is rebuilt
using db2index, which is described in more detail in the "Managing Indexes" chapter of the
Directory Server Administrator's Guide).

Parameter

Description

Entry DN

cn=default indexes, cn=config, cn=ldbm
database, cn=plugins, cn=config

Valid Values

Any valid collation order object identifier (OID)

Default Value

None

Syntax

DirectoryString

Example

nsMatchingRule: 2.16.840.1.113730.3.3.2.3.1 (For
Bulgarian)

3.4 .5.6. nsSystemIndex

This mandatory attribute specifies whether the index is a system index, an index which is vital for
Directory Server operations. If this attribute has a value of true, then it is system-essential. System
indexes should not be removed, as this will seriously disrupt server functionality.

Parameter

Description

Red Hat Directory Server 8.1 Configuration and Command Reference

137

Advertising