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

Table of Contents

Advertisement

Adding Entries Using LDIF
You can use an LDIF file to add multiple entries or to import an entire database. To
add entries using an LDIF file and the Directory Server Console:
Define the entries in an LDIF file.
1.
LDIF is described in Appendix A, "LDAP Data Interchange Format."
Import the LDIF file from the Directory Server Console.
2.
See "Performing an Import From the Console," on page 140 for information.
When you import the LDIF file, select "Append to database" on the Import
dialog box so that the server will only import entries that do not currently exist
in the directory.
You can also add entries described in an LDIF file from the command line using the
command with the
ldapmodify

Adding and Modifying Entries Using ldapmodify

You use the
ldapmodify
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
ldapmodify
that
can do.
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 339.
option.
-f
command to add and modify entries in an existing
ldapmodify
uses LDIF update statements,
Managing Entries From the Command Line
command opens a connection to the
can do everything
ldapmodify
with the
ldapmodify
Chapter 2
Creating Directory Entries
option (do
-c
53

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.02

Table of Contents