![Netscape NETSCAPE DIRECTORY SERVER 6.1 - ADMINISTRATOR Скачать руководство пользователя страница 515](http://html1.mh-extra.com/html/netscape/netscape-directory-server-6-1-administrator/netscape-directory-server-6-1-administrator_administrators-manual_1674675515.webp)
Using ldapsearch
Appendix
B
Finding Directory Entries
515
ldapsearch Command-Line Format
When you use
ldapsearch
, you must enter the command using the following
format:
ldapsearch [
optional_options
] [
optional_search_filter
] [
optional_list_of_attributes
]
where
•
optional_options represents a series of command-line options. These must be
specified before the search filter, if any.
•
optional_search_filter represents an LDAP search filter as described in “LDAP
Search Filters,” on page 521. Do not specify a search filter if you are supplying
search filters in a file using the
-f
option.
•
optional_list_of_attributes represents a list of attributes separated by a space.
Specifying a list of attributes reduces the number of attributes returned in the
search results. This list of attributes must appear after the search filter. For an
example, see “Displaying Subsets of Attributes,” on page 519. If you do not
specify a list of attributes, the search returns values for all attributes permitted
by the access control set in the directory (with the exception of operational
attributes).
Commonly Used ldapsearch Options
The following table lists the most commonly used
ldapsearch
command-line
options. If you specify a value that contains a space [ ], the value should be
surrounded by double quotation marks, for example,
-b "ou=groups, dc=example,dc=com"
.
NOTE
If you want operational attributes returned as a result of a search
operation, you must explicitly specify them in the search command.
To retrieve regular attributes in addition to explicitly specified
operational attributes, use an asterisk (*) in the list of attributes in
the
ldapsearch
command.
Содержание NETSCAPE DIRECTORY SERVER 6.1 - ADMINISTRATOR
Страница 1: ...Administrator s Guide Netscape Directory Server Version6 1 August 2002...
Страница 20: ...20 Netscape Directory Server Administrator s Guide August 2002...
Страница 24: ...24 Netscape Directory Server Administrator s Guide August 2002...
Страница 44: ...Starting the Server in Referral Mode 44 Netscape Directory Server Administrator s Guide August 2002...
Страница 78: ...Maintaining Referential Integrity 78 Netscape Directory Server Administrator s Guide August 2002...
Страница 142: ...Using Referrals 142 Netscape Directory Server Administrator s Guide August 2002...
Страница 162: ...Enabling and Disabling Read Only Mode 162 Netscape Directory Server Administrator s Guide August 2002...
Страница 278: ...Setting Resource Limits Based on the Bind DN 278 Netscape Directory Server Administrator s Guide August 2002...
Страница 336: ...Troubleshooting Replication Related Problems 336 Netscape Directory Server Administrator s Guide August 2002...
Страница 396: ...Configuring LDAP Clients to Use SSL 396 Netscape Directory Server Administrator s Guide August 2002...
Страница 418: ...Monitoring Database Link Activity 418 Netscape Directory Server Administrator s Guide August 2002...
Страница 440: ...Miscellaneous Tuning Tips 440 Netscape Directory Server Administrator s Guide August 2002...
Страница 442: ...442 Netscape Directory Server Administrator s Guide August 2002...
Страница 478: ...PTA Plug In Syntax Examples 478 Netscape Directory Server Administrator s Guide August 2002...
Страница 498: ...498 Netscape Directory Server Administrator s Guide August 2002...
Страница 512: ...Storing Information in Multiple Languages 512 Netscape Directory Server Administrator s Guide August 2002...
Страница 532: ...Searching an Internationalized Directory 532 Netscape Directory Server Administrator s Guide August 2002...
Страница 538: ...Examples of LDAP URLs 538 Netscape Directory Server Administrator s Guide August 2002...