Syntax
Perl script (UNIX and
Windows):
Options
Option
Parameter
rootdn
-D
password
-w
backendInstance
-n
includeSuffix
-s
excludeSuffix
-x
-O
-c
string
-g
ldif2db.pl [-v] -D rootdn -w password -n
backendInstance | {-s includeSuffix}* [{-x excludeSuffix}*]
[-O] [-c] [-g string] [-G namespaceId] {-i filename}*
Description
Specifies the user DN with root permissions, such as
Directory Manager.
Specifies the password associated with the user DN.
Specifies the instance to be imported.
Specifies the suffixes to be included or to specifies the
subtrees to be included if -n has been used.
Specifies the suffixes to be excluded.
Requests that only the core db is created without attribute
indexes.
Merges chunk size.
Generates a unique ID. Type none for no unique ID to be
generated and deterministic for the generated unique ID
to be name-based. By default a time based unique ID is
generated.
If you use the deterministic generation to have a
name-based unique ID, you can also specify the namespace
you want the server to use as follows:
-g deterministic namespaceId
where namespaceId is a string of characters in the
following format
00-xxxxxxxx-xxxxxxxx-xxxxxxxx-xxxxxxxx
Use this option if you want to import the same LDIF file into
two different Directory Servers, and you want the contents of
both directories to have the same set of unique IDs. If unique
IDs already exist in the LDIF file you are importing, then the
existing IDs are imported to the server regardless of the
options you have specified.
Chapter 8
Command-Line Scripts
Perl Scripts
259
Need help?
Do you have a question about the NETSCAPE DIRECTORY SERVER 6.1 and is the answer not in the manual?