EasyManuals Logo

Red Hat DIRECTORY SERVER 7.1 User Manual

Default Icon
334 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #235 background imageLoading...
Page #235 background image
Using Special Characters
Chapter 7 Command-Line Utilities 235
Using Special Characters
When using the
ldapsearch
command-line utility, you may need to specify values
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
ldapsearch
, you must enter the command using the following
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
-f
option.
ldif 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.
dbscan Analyzes and extracts information from a Directory Server
database file.
Table 7-1 Commonly Used Command-Line Utilities (Continued)
Command-Line Utility Description

Table of Contents

Other manuals for Red Hat DIRECTORY SERVER 7.1

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Red Hat DIRECTORY SERVER 7.1 and is the answer not in the manual?

Red Hat DIRECTORY SERVER 7.1 Specifications

General IconGeneral
BrandRed Hat
ModelDIRECTORY SERVER 7.1
CategoryServer
LanguageEnglish

Related product manuals