Netscape DIRECTORY SERVER 6.02 Configuration Manual page 212

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

Advertisement

ldapsearch
-G
-i
-k
-M
-n
-O
212
Netscape Directory Server Configuration, Command, and File Reference • May 2002
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.
Character set. Specifies the character set to use for command line input. The
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
not supported by default in this release of the Directory Server, for example,
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.
Manage smart referrals. Causes the server not to return the smart referral
contained on the entry, but to instead 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 2,
"Configuring Directory Databases" in the Netscape Directory Server
Administrator's Guide.
Specifies that the search is not to be actually 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.

Advertisement

Table of Contents
loading

Table of Contents