3.4.5.4nsIndexType

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 HP-UX Directory Server administrator 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.6Database attributes under cn=monitor, cn=NetscapeRoot, cn=ldbm database, cn=plugins, cn=config

This section covers global, read-only entries for monitoring activity on the NetscapeRoot database. The attributes containing database statistics are given for each file that makes up the database. For further information, see the "Monitoring Server and Database Activity" chapter in the HP-UX Directory Server administrator guide.

3.4 Database plug-in attributes 149