Netscape DIRECTORY SERVER 7.0 Configuration Manual page 233

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

Advertisement

Option
Description
Specify a different separator. This option can only be used with -o. This
-F
option allows you to specify a separator other than a colon ":" to separate an
attribute name from the corresponding value. For example, -F +
Specifies the file containing the search filter(s) to be used in the search. For
-f
example, -f search_filters. Omit this option if you want to supply a
search filter directly to the command-line. For more information about search
filters, see Appendix B, "Finding Directory Entries," in the Netscape Directory
Server Administrator's Guide.
Virtual list search. Allows you to specify the number of entries before or after
-G
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.
Character set. Specifies the character set to use for command-line input. The
-i
default is the character set specified in the LANG environment variable. You
might want to use this option to perform the conversion from the specified
character set 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 character set. 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.
Conversion routines directory. If you want to specify a sort language that is
-k
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 Netscape 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
<NSHOME>/<ServerID>/lib/nls.
Chapter 7
Command-Line Utilities
ldapsearch
233

Advertisement

Table of Contents
loading

Table of Contents