Red Hat DIRECTORY SERVER 7.1 Configuration page 242

Configuration, command, and file reference
Hide thumbs Also See for DIRECTORY SERVER 7.1:
Table of Contents

Advertisement

ldapsearch
Option
-M
-n
-O
-o
-R
-S
-T
-t
-u
-v
-V
-y
242
Red Hat Directory Server Configuration, Command, and File Reference • May 2005
Description
Manage smart referrals. Causes the server not to return the smart referral
contained on the entry but, instead, to return the actual entry containing the
referral. Use this option if you are attempting to search for entries that contain
smart referrals. For more information about smart referrals, see chapter 3,
"Configuring Directory Databases," in the Red Hat Directory Server
Administrator's Guide.
Specifies that the search is not actually to be performed, but that ldapsearch
is to show what it would do with the specified input.
Specifies the maximum number of referral hops ldapsearch should
automatically follow. For example, -O 2.
Specifies that the output for individual values be formatted without line
breaks and that equal signs "=" be used to separate attribute names from
values. This argument produces output in a non-LDIF format.
Specifies that referrals are not to be followed automatically. By default,
referrals are followed automatically.
Specifies the attribute to use as the sort criteria. For example, -S sn. You can
use multiple -S arguments if you want to further define the sort order. In the
following example, the search results will be sorted first by surname and then
by given name:
-S sn -S givenname
The default is not to sort the returned entries.
Specifies that no line breaks should be used within individual values in the
search results.
Specifies that the results be written to a set of temporary files. When you use
this option, each attribute value is placed in a separate file within the system
temporary directory. No base-64 encoding is performed on the values,
regardless of the content.
Specifies that the user-friendly form of the distinguished name be used in the
output.
Specifies that the utility is to run in verbose mode.
Specifies the LDAP version number to be used on the search. For example, -V
2. LDAPv3 is the default. You cannot perform an LDAPv3 search against a
Directory Server that only supports LDAPv2.
Specifies the proxy DN to use for the search. This argument is provided for
testing purposes. For more information about proxied authorization, see
chapter 6, "Managing Access Control," in the Red Hat Directory Server
Administrator's Guide.

Advertisement

Table of Contents
loading

Table of Contents