Ldapsearch Examples - Netscape DIRECTORY SERVER 6.02 - ADMINISTRATOR Administrator's Manual

Table of Contents

Advertisement

Specifies the scope of the search. The scope can be one of the
-s
following:
—Search only the entry specified in the
base
by the
—Search only the immediate children of the entry specified in
one
the
-b
specified in the
—Search the entry specified in the
sub
descendants. That is, perform a subtree search starting at the point
identified in the
Specifies the password associated with the distinguished name that is
-w
specified in the
anonymous access is used. For example,
Specifies that the search results are sorted on the server rather than on
-x
the client. This is useful if you want to sort according to a matching
rule, as with an international search. In general, it is faster to sort on
the server rather than on the client.
Specifies the maximum number of entries to return in response to a
-z
search request. For example,
Normally, regardless of the value specified here,
returns more entries than the number allowed by the server's
nsslapd-sizelimit
limitation by binding as the root DN when using this command-line
argument. When you bind as the root DN, this option defaults to zero
(0). The default value for the
entries.
For detailed information on all
Directory Server Configuration, Command, and File Reference.

ldapsearch Examples

In the next set of examples, suppose the following are true:
You want to perform a search of all entries in the directory.
environment variable.
LDAP_BASEDN
option. Only the children are searched; the actual entry
option is not searched.
-b
option. This is the default.
-b
option. If you do not specify this option,
-D
-z 1000
attribute. However, you can override this
nsslapd-sizelimit
ldapsearch
option or defined
-b
option and all of its
-b
.
-w diner892
.
ldapsearch
attribute is 2,000
utility options, refer to the Netscape
Appendix B
Finding Directory Entries
Using ldapsearch
never
507

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.02

Table of Contents