Table 7.9. ldif2db options, Ldif2ldap (performs import operation over ldap), Syntax – Red Hat 8.1 User Manual
Page 214: Options, Monitor (retrieves monitoring information)
Table 7.9. ldif2db Options
Option
Description
-c
Merges chunk size.
-E
Encrypts data during import. 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 namespace_id
namespace_id 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 are
imported to the server, regardless of the options
specified.
-G namespaceId
Generates a namespace ID as a name-based
unique ID. This is the same as specifying the -g
deterministic option.
-i ldifFile
Gives the names of the input LDIF files. When
multiple files are imported, they are imported in
the order they are specified on the command line.
-n backendInstance
Gives the instance to be imported. Ensure that
the specified instance corresponds to the suffix
contained by the LDIF file; otherwise, the data
contained by the database is deleted, and the
import fails.
-O
Requests that only the core database is created,
without attribute indexes.
-s includeSuffix
Gives the suffixes to be included or to specify the
subtrees to be included if -n has been used.
-x excludeSuffix
Gives the suffixes to be excluded.
7.3.9. ldif2ldap (Performs Import Operation over LDAP)
Performs an import operation over LDAP to the Directory Server. To run this script, the server must be
running.
Syntax
ldif2ldap [ -D rootdn ] [ -w password ] [ -f filename ]
Options
Table 7.10. ldif2ldap Options
Option
Description
-D rootdn
Gives a user DN with root permissions, such as
Directory Manager.
-f filename
Gives the name of the file to be imported. When
importing multiple files, the files are imported in
the order they are specified on the command line.
-w password
Gives the password associated with the user DN.
7.3.10. monitor (Retrieves Monitoring Information)
214
Chapter 7. Command-Line Scripts