Slapadd
is used to add entries specified in LDAP Directory Interchange Format
(LDIF) to a
slapd(8)
database.
It opens the given database determined by the database number or
suffix and adds entries corresponding to the provided LDIF to
the database. The LDIF input is read from standard input or
the specified file.
As
slapadd
is designed to accept LDIF in database order, as produced by
slapcat(8),
it does not verify that superior entries exist before
adding an entry.
OPTIONS
-v
enable verbose mode.
-c
enable continue (ignore errors) mode.
-d level
enable debugging messages as defined by the specified
level.
-b suffix
Use the specified suffix to determine which database to
add entries to. The -b cannot be used in conjunction
with the
-n
option.
-n dbnum
Add entries to the dbnum-th database listed in the
configuration file. The
-n
cannot be used in conjunction with the
-b
option.