Red Hat Directory Server 8.0 Configuration, Command, and File Reference
Option Description
Databases" chapter in the Directory Server
Administrator's Guide.
-n Specifies that the search is not actually to be
performed, but that ldapsearch is to show
what it would do with the specified input.
-O Specifies the maximum number of referral
hops ldapsearch should automatically follow.
For example:
-O 2
-R Specifies that referrals are not to be followed
automatically. By default, referrals are
followed automatically.
-S Specifies the attribute to use as the sort
criteria. For example:
-S sn
Use multiple -S arguments 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.
-T Specifies that no line breaks should be used
within individual values in the search results.
-t Specifies that the results be written to a set of
temporary files. With 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.
-u Specifies that the user-friendly form of the
distinguished name be used in the output.
-v Specifies that the utility is to run in verbose
mode.
-V Specifies the LDAP version number to be
used on the search. For example:
-V 2
ldapsearch
213