Red Hat Directory Server 8.0 Configuration, Command, and File Reference

Option Description
-n backendInstance Gives the name of the instance to be
reindexed.
-s includeSuffix Gives suffixes to be included or the subtrees
to be included if -n has been used.
-t attributeName{:indextypes(:mathingrules)} Names of the attributes to be reindexed.
Optionally, this can include the index type (eq,
pres, sub, approx) and a matching rule OID.
-T vlvAttributeName Gives the names of the VLV attributes to be
reindexed. The name is the VLV index
object's common name in cn=config.
Table 7.8. db2index Options
3.7. ldif2db (Import)
Runs the ns-slapd command-line utility with the ldif2db keyword. To run this script, the server
must be stopped. Ellipses indicate that multiple occurrences are allowed.
For information on the equivalent Perl script, see Section 4.6, “ldif2db.pl (Import)”.
NOTE
ldif2db supports LDIF version 1 specifications. An attribute can also be loaded
using the :< URL specifier notation; for example:
jpegphoto:< file:///tmp/myphoto.jpg
Although the official notation requires three ///, the use of one / is accepted.
For further information on the LDIF format, see the "Managing Directory Entries"
chapter in the Red Hat Directory Server Administrator's Guide.
Syntax.
ldif2db [ -n backendInstance | { -s includeSuffix } ... ] [ -x excludeSuffix ] [ { -i ldifFile }
] [ -O ] [ -g string ] [ -G namespaceId ] [ -E ]
Options.
Option Description
-c Merges chunk size.
ldif2db (Import)
249