Deleting Indexes
For example, you want to delete presence, equality, and substring indexes for the
attribute on the database named
sn
You want to delete the following entry:
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
To run the
directory containing the utility:
cd serverRoot/shared/bin
Perform the
ldapdelete -D "cn=Directory Manager" -w password -h
ExampleServer -p845 "cn=sn,cn=index,cn=Example1,cn=ldbm
database, cn=plugins,cn=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
410
Red Hat Directory Server Administrator's Guide • May 2005
command-line utility, type the following to change to the
ldapdelete
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.
ldapdelete
attribute will no longer be maintained by the
sn
.
Example1
options used in the example:
ldapdelete
options, refer to the Red Hat Directory Server
database.
Example1
Need help?
Do you have a question about the DIRECTORY SERVER 7.1 - ADMINISTRATOR and is the answer not in the manual?
Questions and answers