Defining Directories Using Ldif - Netscape DIRECTORY SERVER 6.2 - ADMINISTRATOR Administrator's Manual

Table of Contents

Advertisement

Defining Directories Using LDIF

Defining Directories Using LDIF
You can define the contents of an entire directory using LDIF. Using LDIF is an
efficient method of directory creation when you have many entries to add to the
directory.
To create a directory using LDIF, follow these steps:
Create an ASCII file containing the entries you want to add in LDIF format.
1.
Make sure each entry is separated from the next by an empty line. You should
use just one line, and the first line of the file must not be blank or else the
ldapmodify
Entries Using LDIF," on page 521.
Begin each file with the topmost, or root, entry in the database.
2.
The root entry must represent the suffix or sub-suffx contained by the
database. For example, if your database has the suffix
the first entry in your directory must be
dn: dc=example,dc=com
For information on suffixes, see the "Suffix" parameter described in the
Netscape Directory Server Configuration, Command, and File Reference.
Make sure that an entry representing a branch point in the LDIF file is placed
3.
before the entries that you want to create under that branch.
For example, if you want to place an entry in a people and a group subtree,
create the branch point for those subtrees before creating entries within those
subtrees.
Create the directory from the LDIF file using one of the following methods:
4.
526
Netscape Directory Server Administrator's Guide • December 2003
utility will exit. For more information, see "Specifying Directory
Directory Server Console
Use this method if you have a small database to import (less than 1000
entries). See "Performing an Import From the Console," on page 144.
command-line utility
ldif2db
Use this method if you have a large database to import (more than 1,000
entries). See "Importing Using the ldif2db Command-Line Script," on
page 147.
command-line utility with the
ldapmodify
dc=example,dc=com
parameter
-a
,

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

Subscribe to Our Youtube Channel

This manual is also suitable for:

Directory server 6.2

Table of Contents