![Netscape NETSCAPE DIRECTORY SERVER 6.1 - ADMINISTRATOR Administrator'S Manual Download Page 369](http://html1.mh-extra.com/html/netscape/netscape-directory-server-6-1-administrator/netscape-directory-server-6-1-administrator_administrators-manual_1674675369.webp)
Deleting Indexes
Chapter
10
Managing Indexes
369
To run the
ldapdelete
command-line utility, type the following to change to the
directory containing the utility:
cd
serverRoot
/shared/bin
Perform the
ldapdelete
as follows:
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
ldapdelete
options used in the example:
For full information on
ldapdelete
options, refer to the Netscape Directory Server
Configuration, Command, and File Reference.
Once you have deleted this entry, the presence, equality, and substring indexes for
the
sn
attribute will no longer be maintained by the
Example1
database.
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
db2index.pl
script to generate the new set of indexes to
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
perl script:
1.
From the command line, change to the following directory:
serverRoot
/slapd-
serverID
/
Option
Description
-D
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.
-w
Specifies the password associated with the distinguished
name specified in the
-D
option.
-h
Specifies the name of the host on which the server is running.
-p
Specifies the port number that the server uses.
Summary of Contents for NETSCAPE DIRECTORY SERVER 6.1 - ADMINISTRATOR
Page 1: ...Administrator s Guide Netscape Directory Server Version6 1 August 2002...
Page 20: ...20 Netscape Directory Server Administrator s Guide August 2002...
Page 24: ...24 Netscape Directory Server Administrator s Guide August 2002...
Page 142: ...Using Referrals 142 Netscape Directory Server Administrator s Guide August 2002...
Page 440: ...Miscellaneous Tuning Tips 440 Netscape Directory Server Administrator s Guide August 2002...
Page 442: ...442 Netscape Directory Server Administrator s Guide August 2002...
Page 478: ...PTA Plug In Syntax Examples 478 Netscape Directory Server Administrator s Guide August 2002...
Page 498: ...498 Netscape Directory Server Administrator s Guide August 2002...
Page 538: ...Examples of LDAP URLs 538 Netscape Directory Server Administrator s Guide August 2002...