Red Hat Directory Server 8.0 Administrator's Guide

Parameter Name Description
distinguished name specified in the -D
parameter.
-h Specifies the name of the host on which the
server is running.
-p Specifies the port number that the server
uses.
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.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."
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.
Using Special Characters
31