Managing Entries From the Command Line
•
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,dc=example,dc=com" -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
For full information on
Server Configuration, Command, and File Reference.
Deleting Entries Using ldapdelete
Use the
utility opens a connection to the specified server using the distinguished name and
password you provide, and deletes the entry or entries.
60
Netscape Directory Server Administrator's Guide • December 2003
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.
ldapmodify
command-line utility to delete entries from the directory. This
ldapdelete
King-Pin
.
.
845
modify_statements
parameters used in the example:
ldapmodify
parameters, refer to the Netscape Directory
.
file with the
Need help?
Do you have a question about the NETSCAPE DIRECTORY SERVER 6.2 - ADMINISTRATOR and is the answer not in the manual?
Questions and answers