
Chapter 7. Command-Line Scripts
298
Option
Description
-w -
Prompts for the password associated with the
user DN.
Table 7.23. fixup-memberof.pl Options
7.4.7. ldif2db.pl (Import)
To run this script, the server must be running. The script creates an entry in the directory that launches
this dynamic task. The entry is generated based upon the values provided for each option. Ellipses
indicate that multiple occurrences are allowed.
Syntax
ldif2db.pl
[ -v ] -D
rootdn
{ -w
password
| -w - | -j
filename
} { -n
backendInstance
|
-s
includeSuffix
} [ -x
excludeSuffix
] [ -O ] [ -c ] [ -g
string
] [ -G
namespaceId
] [ -i
filename
] [ -E ]
Options
Option
Description
-c
Merges chunk size.
-D
rootdn
Specifies the user DN with
root
permissions,
such as Directory Manager.
-E
Decrypts encrypted data during export. This
option is used only if database encryption is
enabled.
-g
string
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.
When using the
deterministic
generation to
have a name-based unique ID, it is also possible
to specify the namespace for the server to use,
as follows:
-g deterministic
namespaceId
namespaceId
is a string of characters in the
format
00-xxxxxxxx-xxxxxxxx-xxxxxxxx-
xxxxxxxx
.
Use this option to import the same LDIF file into
two different Directory Servers and the contents
of both directories should have the same set
of unique IDs. If unique IDs already exist in the
LDIF file being imported, then the existing IDs
Summary of Contents for 8.1
Page 8: ...viii ...
Page 14: ...xiv ...
Page 16: ...2 ...
Page 250: ...236 ...
Page 334: ...320 ...
Page 372: ...358 ...