Adding And Modifying Entries Using Ldapmodify; Adding Entries Using Ldapmodify - Netscape DIRECTORY SERVER 6.2 - ADMINISTRATOR Administrator's Manual

Table of Contents

Advertisement

Managing Entries From the Command Line
Adding and Modifying Entries Using
ldapmodify
You use the
Directory Server database. The
specified server using the distinguished name and password you supply, and
modifies the entries based on LDIF update statements contained in a specified file.
Because
that
ldapdelete
If schema checking is turned on when you use this utility, then the server performs
schema checking for the entire entry when it is modified:
If the server detects an attribute or object class in the entry that is not known to
the server, then the modify operation will fail when it reaches the erroneous
entry. All entries that were processed before the error was encountered will be
successfully added or modified. If you run
not stop on errors), all correct entries processed after the erroneous entry will
be successfully added or modified.
If a required attribute is not present, the modify operation fails. This happens
even if the offending object class or attribute is not being modified. This
situation can occur if you run the Directory Server with schema checking
turned off, add unknown object classes or attributes, and then turn schema
checking on.
For more information, see "Turning Schema Checking On and Off," on page 361.
To create a database suffix (such as
you must bind to the directory as the Directory Manager.

Adding Entries Using ldapmodify

Here is a typical example of how to use the
directory. Suppose that:
You want to create the entries specified in the file
You have created a database administrator who has the authority to modify
the entries, and whose distinguished name is
dc=example,dc=com
The database administrator's password is
The server is located on
The server uses port number
58
Netscape Directory Server Administrator's Guide • December 2003
command to add and modify entries in an existing
ldapmodify
uses LDIF update statements,
ldapmodify
can do.
cyclops
command opens a connection to the
ldapmodify
ldapmodify
ldapmodify
dc=example,dc=com
ldapmodify
cn=Directory Manager,
King-Pin
.
.
845
can do everything
with the
option (do
-c
) using
ldapmodify
utility to add entries to the
.
new.ldif
.

Advertisement

Table of Contents
loading
Need help?

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

This manual is also suitable for:

Directory server 6.2

Table of Contents