Adding And Modifying Entries Using Ldapmodify - Red Hat DIRECTORY SERVER 7.1 - ADMINISTRATOR Administrator's Manual

Table of Contents

Advertisement

Managing Entries from the Command-Line
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 "Importing a Database from the Console," on page 150, 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
ldapmodify

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
everything that
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
with the
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 383.
To create a database suffix (such as
must bind to the directory as the Directory Manager.
58
Red Hat Directory Server Administrator's Guide • May 2005
command with the
command to add and modify entries in an existing
ldapmodify
ldapmodify
uses LDIF update statements,
ldapmodify
can do.
ldapdelete
option (do not stop on errors), all correct entries processed after
-c
option.
-f
command opens a connection to the
ldapmodify
) using
dc=example,dc=com
can do
ldapmodify
, you
ldapmodify

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