HP UX Red Hat Direry Server Software manual Option Description

Models: UX Red Hat Direry Server Software

1 638
Download 638 pages 23.73 Kb
Page 406
Image 406

Chapter 10. Managing Indexes

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

-D

-w

-h

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 -Doption.

Specifies the name of the host on which the server is running.

386

Page 406
Image 406
HP UX Red Hat Direry Server Software manual Option Description