Using ldapsearch
Option
-b
-D
-h
-l
-p
590
Red Hat Directory Server Administrator's Guide • May 2005
Description
Specifies the starting point for the search. The value specified here
must be a distinguished name that currently exists in the database.
This option is optional if the
been set to a base DN.
The value specified in this option should be provided in double
quotation marks. For example:
-b "cn=Barbara Jensen, ou=Product Development,
dc=example,dc=com"
If you want to search the root DSE entry, specify an empty string here.
For example:
-b ""
Specifies the distinguished name with which to authenticate to the
server. This option is optional if anonymous access is supported by
your server. If specified, this value must be a DN recognized by the
Directory Server, and it must also have the authority to search for the
entries. For example:
-
D "uid=bjensen, dc=example,dc=com"
Specifies the hostname or IP address of the machine on which the
Directory Server is installed. If you do not specify a host,
uses the localhost. For example,
Specifies the maximum number of seconds to wait for a search request
to complete. Regardless of the value specified here,
never wait longer than is allowed by the server's
attribute. For example,
nsslapd-timelimit
Specifies the TCP port number that the Directory Server uses. For
example,
. The default is
-p 1049
LDAP_BASEDN
-h mozilla
. The default value for the
-l 300
attribute is
seconds.
3600
. If
389
-Z
environment variable has
ldapsearch
.
ldapsearch
nsslapd-timelimit
is used, the default is
will
.
636
Need help?
Do you have a question about the DIRECTORY SERVER 7.1 - ADMINISTRATOR and is the answer not in the manual?
Questions and answers