![Netscape NETSCAPE DIRECTORY SERVER 6.1 - ADMINISTRATOR Скачать руководство пользователя страница 149](http://html1.mh-extra.com/html/netscape/netscape-directory-server-6-1-administrator/netscape-directory-server-6-1-administrator_administrators-manual_1674675149.webp)
Importing Data
Chapter
4
Populating Directory Databases
149
The following examples import an LDIF file using the
ldif2db.pl
script. You do
not need root privileges to run the script, but you must authenticate as the
directory manager.
Windows batch file (as shown in the example, you need to run the script from the
..\bin\slapd\admin\bin\perl
directory):
..\bin\slapd\admin\bin\perl ldif2db.pl -D "cn=Directory Manager"
-w secretpwd -i c:\netscape\servers\slapd-dirserver\ldif\demo.ldif
-n Database1
UNIX shell script:
ldif2db.pl -D "cn=Directory Manager" -w secretpwd
-i /usr/netscape/servers/slapd-dirserver/ldif/demo.ldif
-n Database1
The following table describes the
ldif2db.pl
options used in the examples:
Importing Using the ldif2ldap Command-Line Script
The
ldif2ldap
script appends the LDIF file through LDAP. Using this script you
import data to all directory databases at the same time. The server must be running
in order to import using
ldif2ldap
.
To import LDIF using
ldif2ldap
:
1.
From the command line, change to the following directory:
serverRoot
/slapd-
serverID
/
2.
Run the
ldif2ldap
command-line script.
For more information about using this script, refer to Netscape Directory Server
Configuration, Command, and File Reference.
Option
Description
-D
Specifies the DN of the administrative user.
-w
Specifies the password of the administrative user.
-i
Specifies the LDIF file(s) to be imported. This option is
required. You can use multiple
-i
arguments to import more
than one LDIF file at a time. When you import multiple files,
the server imports the LDIF files in the order in which you
specify them from the command line.
-n
Specifies the name of the database into which you are
importing the data.
Содержание NETSCAPE DIRECTORY SERVER 6.1 - ADMINISTRATOR
Страница 1: ...Administrator s Guide Netscape Directory Server Version6 1 August 2002...
Страница 20: ...20 Netscape Directory Server Administrator s Guide August 2002...
Страница 24: ...24 Netscape Directory Server Administrator s Guide August 2002...
Страница 44: ...Starting the Server in Referral Mode 44 Netscape Directory Server Administrator s Guide August 2002...
Страница 78: ...Maintaining Referential Integrity 78 Netscape Directory Server Administrator s Guide August 2002...
Страница 142: ...Using Referrals 142 Netscape Directory Server Administrator s Guide August 2002...
Страница 162: ...Enabling and Disabling Read Only Mode 162 Netscape Directory Server Administrator s Guide August 2002...
Страница 278: ...Setting Resource Limits Based on the Bind DN 278 Netscape Directory Server Administrator s Guide August 2002...
Страница 336: ...Troubleshooting Replication Related Problems 336 Netscape Directory Server Administrator s Guide August 2002...
Страница 396: ...Configuring LDAP Clients to Use SSL 396 Netscape Directory Server Administrator s Guide August 2002...
Страница 418: ...Monitoring Database Link Activity 418 Netscape Directory Server Administrator s Guide August 2002...
Страница 440: ...Miscellaneous Tuning Tips 440 Netscape Directory Server Administrator s Guide August 2002...
Страница 442: ...442 Netscape Directory Server Administrator s Guide August 2002...
Страница 478: ...PTA Plug In Syntax Examples 478 Netscape Directory Server Administrator s Guide August 2002...
Страница 498: ...498 Netscape Directory Server Administrator s Guide August 2002...
Страница 512: ...Storing Information in Multiple Languages 512 Netscape Directory Server Administrator s Guide August 2002...
Страница 532: ...Searching an Internationalized Directory 532 Netscape Directory Server Administrator s Guide August 2002...
Страница 538: ...Examples of LDAP URLs 538 Netscape Directory Server Administrator s Guide August 2002...