ldapsearch
241
Option
Description
-l
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
seconds. See
Section 2.3.1.106, “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.
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.
Содержание 8.1
Страница 8: ...viii ...
Страница 14: ...xiv ...
Страница 16: ...2 ...
Страница 250: ...236 ...
Страница 334: ...320 ...
Страница 372: ...358 ...