Red Hat 8.1 Configuration And Command Reference page 187

Directory server; configuring and managing with command-line utilities
Hide thumbs Also See for 8.1:
Table of Contents

Advertisement

-J
-j filename
-k
-M
-n
-O
-R
-S
-T
-t
Red Hat D irectory Server 8.1 Configuration and Command Reference
characterset.
ldapsearch converts the input from these
arguments before it processes the search
request. For example, -i no indicates that the
bind DN, base DN, and search filter are provided
in Norwegian. T his argument only affects the
command-line input; that is, if a file containing a
search filter (with the -f option) is specified,
ldapsearch will not convert the data in the file.
Send an arbitrary control. T his option can be
used in the following format to retrieve access
control information on a specific entry:
-J control OID:boolean
criticality:dn:AuthID
control OID is the OID for the get effective
rights control,
1.3.6.1.4 .1.4 2.2.27.9.5.2.
boolean criticality specifies whether the
search operation should return an error if the
server does not support this control (true) or
if it should be ignored and let the search
return as normal (false).
AuthId is the DN of the user whose rights to
check.
Contains the name of a file containing the
password for the bind DN.
Bypasses converting the password to UT F8.
Manages smart referrals. T his 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 to search
for entries that contain smart referrals. For more
information about smart referrals, see the
"Configuring Directory Databases" chapter in the
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 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
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
T he 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. 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
187

Advertisement

Table of Contents
loading

Table of Contents