Syntax, Options, Ldif2db (import) – Red Hat 8.1 User Manual

Page 213: Note, Section 7.3.8, “ldif2db (import)

Advertising
background image

Syntax

ds_rem oval [ -f ] -s instance_name -w manager_password

Options

Option

Parameter

Description

-f

Forces the removal of the
instance. This can be useful if
the instance is not running but
must be removed anyway.

-s

instance_name

The name of the instance to
remove.

-w

manager_password

The Directory Manager
password to use to bind to the
instance.

7.3.8. 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 7.4.7, “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

Red Hat Directory Server 8.1 Configuration and Command Reference

213

Advertising