EasyManuals Logo

Red Hat DIRECTORY SERVER 7.1 User Manual

Default Icon
334 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #241 background imageLoading...
Page #241 background image
ldapsearch
Chapter 7 Command-Line Utilities 241
-G Virtual list search. Allows you to specify the number of entries before or after
the search target and the index or value of the first entry returned. For
example, if you are sorting by surname, -G 20:30:johnson returns the first
entry with a surname equal to or less than johnson, in addition to 20 entries
that come before it and 30 entries that come after it. If there are fewer matching
entries in the directory than the “before” or “after” number requested by the
search, all available entries before/after the search target that match the search
criteria are returned.
-i Characterset. Specifies the characterset to use for command-line input. The
default is the characterset specified in the LANG environment variable. You
might want to use this option to perform the conversion from the specified
characterset to UTF8, thus overriding the environment variable setting.
Using this argument, you can input the bind DN, base DN, and the search
filter pattern in the specified . 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.
This argument only affects the command-line input; that is, if you specify a file
containing a search filter (with the -f option) ldapsearch will not convert
the data in the file.
-J Get effective rights search. This option is 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.42.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 you want to check.
-k Conversion routines directory. If you want to specify a sort language that is
not supported by default in this release of the Directory Server, such as one
obtained from a later release of the LDAP SDK, you need to supply the
directory in which you store the conversion routines. You can view the list of
supported languages in Table B.1 in the Red Hat Directory Server
Administrator’s Guide.
When performing the search, the server looks in the current working
directory. However, if the conversion routines are not in the current working
directory, you need to specify this option when using ldapsearch. The
conversion routines directory is located by default in
/path/slapd-serverID/lib/nls.
Option Description

Table of Contents

Other manuals for Red Hat DIRECTORY SERVER 7.1

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Red Hat DIRECTORY SERVER 7.1 and is the answer not in the manual?

Red Hat DIRECTORY SERVER 7.1 Specifications

General IconGeneral
BrandRed Hat
ModelDIRECTORY SERVER 7.1
CategoryServer
LanguageEnglish

Related product manuals