![Netscape NETSCAPE DIRECTORY SERVER 6.02 Скачать руководство пользователя страница 498](http://html1.mh-extra.com/html/netscape/netscape-directory-server-6-02/netscape-directory-server-6-02_administrators-manual_1674673498.webp)
Defining Directories Using LDIF
498
Netscape Directory Server Administrator’s Guide • May 2002
To create a directory using LDIF, follow these steps:
1.
Create an ASCII file containing the entries you want to add in LDIF format.
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
utility will exit. For more information, see “Specifying Directory
Entries Using LDIF,” on page 493.
2.
Begin each file with the topmost, or root, entry in the database.
The root entry must represent the suffix or sub-suffx contained by the
database. For example, if your database has the suffix
dc=example,dc=com
, 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.
3.
Make sure that an entry representing a branch point in the LDIF file is placed
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.
4.
Create the directory from the LDIF file using one of the following methods:
❍
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 140.
❍
ldif2db
command-line utility
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 143.
❍
ldapmodify
command-line utility with the
-a
parameter
Use this method if you currently have a directory database, but you are
adding a new subtree to the database. Unlike the other methods for
creating the directory from an LDIF file, Directory Server must be running
before you can add a subtree using
ldapmodify
. See “Adding and
Modifying Entries Using ldapmodify,” on page 53.
Содержание NETSCAPE DIRECTORY SERVER 6.02
Страница 1: ...Administrator s Guide Netscape Directory Server Version6 02 May 2002 ...
Страница 16: ...16 Netscape Directory Server Administrator s Guide May 2002 ...
Страница 20: ...20 Netscape Directory Server Administrator s Guide May 2002 ...
Страница 40: ...Starting the Server in Referral Mode 40 Netscape Directory Server Administrator s Guide May 2002 ...
Страница 74: ...Maintaining Referential Integrity 74 Netscape Directory Server Administrator s Guide May 2002 ...
Страница 138: ...Using Referrals 138 Netscape Directory Server Administrator s Guide May 2002 ...
Страница 258: ...Compatibility with Earlier Releases 258 Netscape Directory Server Administrator s Guide May 2002 ...
Страница 274: ...Setting Resource Limits Based on the Bind DN 274 Netscape Directory Server Administrator s Guide May 2002 ...
Страница 330: ...Solving Common Replication Conflicts 330 Netscape Directory Server Administrator s Guide May 2002 ...
Страница 374: ...Attribute Name Quick Reference Table 374 Netscape Directory Server Administrator s Guide May 2002 ...
Страница 390: ...Configuring LDAP Clients to Use SSL 390 Netscape Directory Server Administrator s Guide May 2002 ...
Страница 412: ...Monitoring Database Link Activity 412 Netscape Directory Server Administrator s Guide May 2002 ...
Страница 432: ...Miscellaneous Tuning Tips 432 Netscape Directory Server Administrator s Guide May 2002 ...
Страница 434: ...434 Netscape Directory Server Administrator s Guide May 2002 ...
Страница 468: ...PTA Plug In Syntax Examples 468 Netscape Directory Server Administrator s Guide May 2002 ...
Страница 488: ...488 Netscape Directory Server Administrator s Guide May 2002 ...
Страница 502: ...Storing Information in Multiple Languages 502 Netscape Directory Server Administrator s Guide May 2002 ...
Страница 522: ...Searching an Internationalized Directory 522 Netscape Directory Server Administrator s Guide May 2002 ...
Страница 528: ...Examples of LDAP URLs 528 Netscape Directory Server Administrator s Guide May 2002 ...