Red Hat DIRECTORY SERVER 8.1 Command Reference Manual page 255

Hide thumbs Also See for DIRECTORY SERVER 8.1:
Table of Contents

Advertisement

Option
-l
-p
-s
-w
Description
Specifies the maximum number of seconds
to wait for a search request to complete. For
example:
-l 300
Regardless of the value specified here,
ldapsearch will never wait longer than is
allowed by the server's nsslapd-timelimit
attribute, unless the authenticated user is
the Directory Manager. The default value for
the nsslapd-timelimit attribute is 3600
Section 2.3.1.106, "nsslapd-
seconds. See
timelimit (Time Limit)"
for more information.
Specifies the TCP port number that the Directory
Server uses. For example:
-p 1049
The default is 389. If -Z is used, the default is
636.
Specifies the scope of the search. The scope can
be one of the following:
• base searches only the entry specified in the
-b option or defined by the LDAP_BASEDN
environment variable.
• one searches only the immediate children
of the entry specified in the -b option. Only
the children are searched; the actual entry
specified in the -b option is not searched.
• sub searches the entry specified in the -
b option and all of its descendants. That is,
perform a subtree search starting at the point
identified in the -b option. This is the default.
Specifies the password associated with the
distinguished name that is specified in the -D
option. For example:
-w diner892
If this option is not specified, anonymous access
is used.
If a dash (-) is used as the password value,
the utility prompts for the password after the
command is entered. This avoids having the
password on the command line.
ldapsearch
241

Advertisement

Table of Contents
loading

Table of Contents