Adding A Browsing Index Entry - Netscape DIRECTORY SERVER 6.1 - ADMINISTRATOR Administrator's Manual

Table of Contents

Advertisement

Adding a Browsing Index Entry

The type of browsing index entry you want to create depends on the type of
attribute sorting you want to accelerate. It is important to take the
ldapsearch
following into account:
The scope of the search (base, one, sub).
For more information on the
specify the scope of searches, see the Netscape Directory Server Configuration,
Command, and File Reference.
The base of the search (the entry you want to use as a starting point for the
search).
For more information on the
specify the base of searches, see the Netscape Directory Server Configuration,
Command, and File Reference.
The attributes you want to sort.
The filter of the search.
For more information on specifying filters for searches see Appendix B,
"Finding Directory Entries."
The ldbm database to which the entry, that forms the base of the search,
belongs. Note that you can only create browsing indexes in ldbm databases.
For example, you want to create a browsing index to accelerate an
the entry
"dc=example,dc=com"
the search base is
the search filter is
the scope is
, and
one
the sorting order for the returned attributes is
First, type the following to change to the directory containing the utility:
cd serverRoot/shared/bin
Run the
ldapmodify
ldapmodify -a -h server -p 389 -D "cn=directory manager" -w password
The
utility binds to the server and prepares it to add an entry to the
ldapmodify
configuration file.
ldapsearch -s
ldapsearch -b
held in the
"dc=example,dc=com"
(|(objectclass=*)(objectclass=ldapsubentry))
command-line utility as follows:
option, which allows you to
option, which allows you to
database where
Example1
,
,
,
cn
givenname
Chapter 10
Managing Indexes
Creating Indexes
on
ldapsearch
,
,
, and
.
o
ou
sn
363

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.1

Table of Contents