Using Special Characters - Netscape DIRECTORY SERVER 6.02 Configuration Manual

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

Advertisement

Using Special Characters

When using the
that contain characters that have special meaning to the command-line interpreter
(such as space [ ], asterisk [*], backslash [\], and so forth). When this situation
occurs, enclose the value in quotation marks (""). For example:
-D "cn=Barbara Jensen, ou=Product Development, dc=example,dc=com"
Depending on which command-line interpreter you use, you should use either
single or double quotation marks for this purpose. Refer to your operating-system
documentation for more information.
In addition, if you are using DNs that contain commas in values, you must escape
the commas with a backslash. For example:
-D "cn=Patricia Fuentes, ou=people, dc=example,dc=Bolivia\, S.A."
Syntax for Using Special Characters
When you use
format:
ldapsearch -b basedn filter [optional_options] [optional_list of_attributes]
where
optional_options is a series of command line options. These must be specified
before the search filter, if any.
filter is an LDAP search filter as described in Netscape Directory Server
Administrator's Guide. Do not specify a search filter if you are supplying search
filters in a file using the
optional_list_of_attributes are space-separated attributes that reduce the scope of
the attributes returned in the search results. This list of attributes must appear
after the search filter. For a usage example, see the Netscape Directory Server
Administrator's Guide. If you do not specify a list of attributes, the search
returns values for all attributes permitted by the access control set in the
directory with the exception of operational attributes.
If you want operational attributes returned as a result of a search operation, you
must explicitly specify them in the search command. To retrieve regular attributes
in addition to explicitly specified operational attributes, specify "*" in addition to
the operational attributes.
command-line utility, you may need to specify values
ldapsearch
, you must enter the command using the following
ldapsearch
option.
-f
Using Special Characters
Chapter 7
Command-Line Utilities
207

Advertisement

Table of Contents
loading

Table of Contents