![Netscape NETSCAPE DIRECTORY SERVER 6.1 - ADMINISTRATOR Administrator'S Manual Download Page 516](http://html1.mh-extra.com/html/netscape/netscape-directory-server-6-1-administrator/netscape-directory-server-6-1-administrator_administrators-manual_1674675516.webp)
Using ldapsearch
516
Netscape Directory Server Administrator’s Guide • August 2002
Option
Description
-b
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
LDAP_BASEDN
environment variable has
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 ""
-D
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"
-h
Specifies the hostname or IP address of the machine on which the
Directory Server is installed. If you do not specify a host,
ldapsearch
uses the localhost. For example,
-h mozilla
.
-l
Specifies the maximum number of seconds to wait for a search request
to complete. Regardless of the value specified here,
ldapsearch
will
never wait longer than is allowed by the server’s
nsslapd-timelimit
attribute. For example,
-l 300
. The default value for the
nsslapd-timelimit
attribute is 3,600 seconds.
-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.
Summary of Contents for NETSCAPE DIRECTORY SERVER 6.1 - ADMINISTRATOR
Page 1: ...Administrator s Guide Netscape Directory Server Version6 1 August 2002...
Page 20: ...20 Netscape Directory Server Administrator s Guide August 2002...
Page 24: ...24 Netscape Directory Server Administrator s Guide August 2002...
Page 142: ...Using Referrals 142 Netscape Directory Server Administrator s Guide August 2002...
Page 440: ...Miscellaneous Tuning Tips 440 Netscape Directory Server Administrator s Guide August 2002...
Page 442: ...442 Netscape Directory Server Administrator s Guide August 2002...
Page 478: ...PTA Plug In Syntax Examples 478 Netscape Directory Server Administrator s Guide August 2002...
Page 498: ...498 Netscape Directory Server Administrator s Guide August 2002...
Page 538: ...Examples of LDAP URLs 538 Netscape Directory Server Administrator s Guide August 2002...