Modifying Entries Using Ldapmodify; Table 2-3 Description Of Ldapmodify Parameters Used For Modifying Entries - Red Hat DIRECTORY SERVER 7.1 - ADMINISTRATOR Administrator's Manual

Table of Contents

Advertisement

Managing Entries from the Command-Line
For full information on
Server Configuration, Command, and File Reference.

Modifying Entries Using ldapmodify

Here is a typical example of how to use the
that are present in the directory. Suppose that:
You want to modify entries as specified in the file
You have created a database administrator that has the authority to modify
the entries and whose distinguished name is
The database administrator's password is
The server is located on
The server uses port number
To modify the entries, you must first create the
appropriate LDIF update statements and then enter the following command:
ldapmodify -D "cn=Directory Manager" -w King-Pin -h cyclops -p
845 -f modify_statements
The following table describes the
Table 2-3
Parameter Name
-D
-w
-h
-p
-f
60
Red Hat Directory Server Administrator's Guide • May 2005
ldapmodify
cyclops
Description of ldapmodify Parameters Used for Modifying Entries
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.
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 "Providing Input
from the Command-Line," on page 56.
parameters, refer to the Red Hat Directory
ldapmodify
modify_statements
cn=Directory Manager
King-Pin
.
.
845
modify_statements
parameters used in the example:
ldapmodify
utility to modify entries
.
.
.
file with the

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

This manual is also suitable for:

Directory server 7.1

Table of Contents