ldapsearch
-i
-k
-M
-n
-O
-o
-R
210
Netscape Directory Server Configuration, Command, and File Reference • January 2002
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.
Specifies that the output for individual values be formatted without line
breaks and that equal signs "=" be used to separate attribute names from
values. This argument produces output in a non-LDIF format.
Specifies that referrals are not to be followed automatically. By default,
referrals are followed automatically.
Need help?
Do you have a question about the NETSCAPE DIRECTORY SERVER 6.01 and is the answer not in the manual?