Netscape DIRECTORY SERVER 6.1 - ADMINISTRATOR Administrator's Manual page 359

Table of Contents

Advertisement

First, type the following to change to the directory containing the utility:
cd serverRoot/shared/bin
Run the
ldapmodify
ldapmodify -a -h server -p 389 -D "cn=directory manager" -w password
The
utility binds to the server and prepares it to add an entry to the
ldapmodify
configuration file.
Next, you add the following entry for the new indexes:
dn: cn=sn,cn=index,cn=Example1,cn=ldbm database,cn=plugins,cn=config
objectClass:top
objectClass:nsIndex
cn:sn
nsSystemIndex:false
nsIndexType:pres
nsIndexType:eq
nsIndexType:sub
nsMatchingRule:2.16.840.1.113730.3.3.2.3.1
The
attribute contains the name of the attribute you want to index, in this
cn
example the
attribute. The entry is a member of the
sn
attribute is
nsSystemIndex
Directory Server operations. The multi-valued
presence (
), equality (
pres
has to be entered on a separate line. The
OID of the Bulgarian collation order.
Specifying an index entry with no value in the
indexes (except international) being maintained for the specified attribute. For
example, suppose instead that you specify the following entry for your new
indexes:
dn: cn=sn,cn=index,cn= instance ,cn=ldbm database,cn=plugins,cn=config
objectClass:top
objectClass:nsIndex
cn:sn
nsSystemIndex:false
nsIndexType:
This new entry results in all indexes for the
command-line utility as follows:
, indicating that the index is not essential to
false
) and substring (
eq
nsMatchingRule
object class. The
nsIndex
attribute specifies the
nsIndexType
) indexes. Note that each keyword
sub
attribute specifies the
attribute results in all
nsIndexType
(surname) attribute.
sn
Chapter 10
Creating Indexes
sn
Managing Indexes
359

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.1

Table of Contents