Red Hat Directory Server 8.0 Configuration, Command, and File Reference
Option Description
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
seconds. See Section 3.1.95,
“nsslapd-timelimit (Time Limit)” for more
information.
-p 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.
-s
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.
-w
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.
Chapter 6. Command-Line Utilities
200