HP-UX Directory Server 8.1 administrator guide
Table 3-4 ldapdelete options used for deleting entries
DescriptionOption name
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.
-D
Specifies the password associated with the distinguished name specified in the -D option.-w
Specifies the name of the host on which the server is running.
-h
Specifies the port number that the server uses.
-p
For information on the ldapdelete options, see the HP-UX Directory Server configuration,
command, and file reference.
3.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 secret -h example.com -p 389 "cn=Patricia
Fuentes,ou=People,o=example.com Bolivia\,S.A."
3.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.
• modifiersName
The distinguished name of the person who last modified the entry.
• modifyTimestamp
The timestamp for when the entry was last modified in GMT format.
NOTE:
When a database link is used by a client application to create or modify entries, the
creatorsName and modifiersName attributes do not reflect the real creator or modifier of
the entries. These attributes contain the name of the administrator who is granted proxy
authorization rights on the remote server. For information on proxy authorization, see “Providing
bind credentials”.
Do the following to enable the Directory Server to track when entries are created or modified:
118 Creating directory entries