Using Special Characters; Syntax For Using Special Characters - Red Hat DIRECTORY SERVER 7.1 Configuration

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

Advertisement

Commonly Used Command-Line Utilities (Continued)
Table 7-1
Command-Line Utility
ldif
dbscan

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 used.
filter is an LDAP search filter as described in Red Hat Directory Server
Administrator's Guide. Do not specify a search filter if you are supplying search
filters in a file using the
Description
Automatically formats LDIF files for you and creates base
64-encoded attribute values. For details on this tool, see
Appendix A in the Red Hat Directory Server Administrator's
Guide.
Analyzes and extracts information from a Directory Server
database file.
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
235

Advertisement

Table of Contents
loading

Table of Contents