Using Special Characters; Tracking Modifications To Directory Entries - Red Hat DIRECTORY SERVER 8.0 - ADMINISTRATION Administration Manual

Hide thumbs Also See for DIRECTORY SERVER 8.0 - ADMINISTRATION:
Table of Contents

Advertisement

Chapter 2. Creating Directory Entries
Table 2.4, "ldapdelete Parameters Used for Deleting Entries"
used in the example:
Parameter Name
-D
-w
-h
-p
Table 2.4. ldapdelete Parameters Used for Deleting Entries
For full information on ldapdelete parameters, see the Directory Server Configuration, Command,
and File Reference.

2.2.6. Using Special Characters

When using the Directory Server command-line client tools, you may need to specify values that
contain characters that have special meaning to the command-line interpreter, such as space ( ),
asterisk (*), or backslash (\). 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 the command-line utility, use either single or double quotation marks; see your
operating system documentation for more information.
Additionally, if a DN contains commas, you must escape the commas with a backslash (\). For
example:
-D "cn=Patricia Fuentes,ou=people,o=example.com Bolivia\,S.A."
To delete user Patricia Fuentes from the example.com Bolivia, S.A. tree, use the following
command:
ldapdelete -D "cn=Directory Manager" -w King-Pin -h cyclops -p 845 "cn=Patricia
Fuentes,ou=People,o=example.com Bolivia\,S.A."

2.3. Tracking Modifications to Directory Entries

You can configure the server to maintain special attributes for newly created or modified entries:
• creatorsName. The distinguished name of the person who initially created the entry.
• createTimestamp. The timestamp for when the entry was created in GMT (Greenwich Mean Time)
format.
26
describes the ldapdelete parameters
Description
Specifies the distinguished name with which to
authenticate to the server. The value must be
a DN recognized by the Directory Server, and
it must also have the authority to modify the
entries.
Specifies the password associated with
the distinguished name specified in the -D
parameter.
Specifies the name of the host on which the
server is running.
Specifies the port number that the server uses.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DIRECTORY SERVER 8.0 - ADMINISTRATION and is the answer not in the manual?

Questions and answers

Table of Contents