Red Hat Directory Server 8.0 Administrator's Guide

For example, there is a browsing index for accelerating ldapsearch operations on the entry
ou=People,dc=example,dc=com. It held in the Example1 database where the search base is
ou=People,dc=example,dc=com, the search filter is
(|(objectclass=*)(objectclass=ldapsubentry)), the scope is 1, and the sorting order for
the returned attributes is cn, givenName, o, ou, and sn.
1. Run ldapdelete.
1
ldapdelete-D "cn=Directory Manager" -w password -h ExampleServer
-p 389 "cn=MCC ou=People dc=example dc=com, cn=userRoot, cn=ldbm database,
cn=plugins, cn=config"
"cn=by MCC ou=People dc=example dc=com,cn=MCC ou=People
dc=example dc=com, cn=userRoot, cn=ldbm database, cn=plugins, cn=config"
For full information on ldapdelete options, see the Directory Server Configuration,
Command, and File Reference.
2. To delete this browsing index, delete the two corresponding browsing index entries:
dn: cn=MCC ou=People dc=example dc=com, cn=userRoot, cn=ldbm database,
cn=plugins, cn=config
objectClass: top
objectClass: vlvSearch
cn: MCC ou=People dc=example dc=com
vlvBase: ou=People, dc=example,dc=com
vlvScope: 1 vlvFilter: (|(objectclass=*)(objectclass=ldapsubentry))
dn: cn=by MCC ou=People dc=example dc=com,cn=MCC ou=People
dc=example dc=com, cn=userRoot, cn=ldbm database, cn=plugins,cn=config
objectClass: top
objectClass: vlvIndex
cn: by MCC ou=People dc=example dc=com
vlvSort: cn givenName o ou sn
The following table describes the ldapdelete options used in the example:
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.
Chapter 10. Managing Indexes
386