Running The Db2Index.pl Script - Netscape DIRECTORY SERVER 6.1 - ADMINISTRATOR Administrator's Manual

Table of Contents

Advertisement

To run the
ldapdelete
directory containing the utility:
cd serverRoot/shared/bin
Perform the
ldapdelete
ldapdelete -D "cn=Directory Manager" -w password -h ExampleServer
-p845 "cn=sn,cn=index,cn=Example1,dn=ldbm database,
cn=plugins,dn=config"
The following table describes the
Option
-D
-w
-h
-p
For full information on
Configuration, Command, and File Reference.
Once you have deleted this entry, the presence, equality, and substring indexes for
the
attribute will no longer be maintained by the
sn

Running the db2index.pl Script

Once you have deleted an indexing entry or deleted some of the index types from
an indexing entry, run the
be maintained by the Directory Server. Once you run the script, the new set of
indexes is active for any new data you add to your directory and any existing data
in your directory.
To run the
db2index.pl
From the command line, change to the following directory:
1.
serverRoot/slapd-serverID/
command-line utility, type the following to change to the
as follows:
ldapdelete
Description
Specifies the distinguished name with which to authenticate
to the server. The value must be a DN recognized by the
Directory Server, and it must also have the authority to
modify the entries.
Specifies the password associated with the distinguished
name specified in the -D option.
Specifies the name of the host on which the server is running.
Specifies the port number that the server uses.
options, refer to the Netscape Directory Server
ldapdelete
script to generate the new set of indexes to
db2index.pl
perl script:
options used in the example:
database.
Example1
Chapter 10
Managing Indexes
Deleting Indexes
369

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.1

Table of Contents