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

Table of Contents

Advertisement

Deleting Indexes

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
From the command line, change to the following directory:
1.
serverRoot/slapd-serverID/
Run the
2.
For more information about using the
Netscape Directory Server Configuration, Command, and File Reference.
Two examples of generating the new set of indexes to be maintained by the server
using
Windows batch file (you need to run the script from the
..\bin\slapd\admin\bin\perl
..\bin\slapd\admin\bin\perl db2index.pl -D "cn=Directory Manager"
-w password -n Example1
UNIX shell script:
db2index.pl -D "cn=Directory Manager" -w password -n Example1
The following table describes the
Option
-D
-w
-n
For more information about the
Directory Server Configuration, Command, and File Reference.
386
Netscape Directory Server Administrator's Guide • December 2003
db2index.pl
perl script:
db2index.pl
perl script.
db2index.pl
follow:
db2index.pl
Description
Specifies the DN of the administrative user.
Specifies the password of the administrative user.
Specifies the name of the database into which you are
importing the data.
script to generate the new set of indexes to
db2index.pl
. directory as shown in the example):
options used in the examples:
db2index.pl
perl script, see the Netscape
db2index.pl
perl script, refer to

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the NETSCAPE DIRECTORY SERVER 6.2 - ADMINISTRATOR and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Directory server 6.2

Table of Contents