Red Hat Directory Server 8.0 Administrator's Guide
• The hostname is cyclops.
• The server uses port number 845.
Table 2.3, “ldapmodify Parameters Used for Modifying Entries” describes the ldapmodify
parameters used in the example.
Parameter Name Description
-D 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.
-w Specifies the password associated with the
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.
-f Optional parameter that specifies the file
containing the LDIF update statements used
to define the modifications. If you do not
supply this parameter, the update statements
are read from stdin. For information on
supplying LDIF update statements from the
command-line, refer to Section 2.1, “Providing
Input from the Command-Line”.
Table 2.3. ldapmodify Parameters Used for Modifying Entries
For full information on ldapmodify parameters, see the Directory Server Configuration,
Command, and File Reference.
2.5. Deleting Entries Using ldapdelete
The ldapdelete command-line utility opens a connection to the specified server using the
provided distinguished name and password and deletes the specified entry or entries.
NOTE
You can only delete entries at the end of a branch. You cannot delete entries that
Deleting Entries Using ldapdelete
29