NAME
slapadd - Add entries to a SLAPD database
SYNOPSIS
//uussrr//ssbbiinn//ssllaappaadddd [[-vv]] [[-cc]] [[-uu]] [[-pp]] [[-rr]] [[-ww]] [[-dd lleevveell]] [[-bb ssuuffffiixx]]
[[-nn ddbbnnuumm]] [[-ii rriidd11,,rriidd22,,......]] [[-ff ssllaappdd..ccoonnff]] [[-ll llddiiff-ffiillee]]
DESCRIPTION
SSllaappaadddd is used to add entries specified in LDAP Directory Interchange Format (LDIF) to a ssllaappdd(8) database. It opens the given databasedetermined by the database number or suffix and adds entries corre-
sponding to the provided LDIF to the database. The LDIF input is read from standard input or the specified file. As ssllaappaadddd is designed to accept LDIF in database order, as produced by ssllaappccaatt(8), it does not verify that superior entries exist before adding an entry, does not perform all user and system schema checks, and does not maintain operational attributes (such as createTimeStamp and modifiersName). OOPPTTIIOONNSS-vv enable verbose mode.
-cc enable continue (ignore errors) mode.
-uu enable dry-run (don't write to backend) mode.
-pp If the LDIF input represents a syncrepl consumer replica, pro-
mote it to the syncrepl provider's content after adding the entries.-rr If the LDIF input represents a syncrepl provider, demote it
to the syncrepl consumer replica after adding the entries.-ww When used with either -pp or -rr,, rebuild the new syncrepl infor-
mation from the contents of the added entries. The syncrepl information contained in the LDIF input file is ignored.-dd level
enable debugging messages as defined by the specified level.-bb suffix
Use the specified suffix to determine which database to addentries to. The -b cannot be used in conjunction with the -nn
option.-nn dbnum
Add entries to the dbnum-th database listed in the configuration
file. The -nn cannot be used in conjunction with the -bb option.
-ii rid1,rid2,...
Specify the replication ids for one or more syncrepl consumer replicas contained in the LDIF input. If omitted, 0 is used as the replication id.-ff slapd.conf
specify an alternative ssllaappdd..ccoonnff(5) file.-ll ldif-file
Read LDIF from the specified file instead of standard input. LLIIMMIITTAATTIIOONNSSYour ssllaappdd(8) should not be running when you do this to ensure consis-
tency of the database. ssllaappaadddd may not provide naming or schema checks. It is advisable to use llddaappaadddd(1) when adding new entries into an existing directory. EEXXAAMMPPLLEESSTo import the entries specified in file llddiiff into your ssllaappdd(8) data-
base give the command:/usr/sbin/slapadd -l ldif
SEE ALSO
llddaapp(3), llddiiff(5), ssllaappccaatt(8), llddaappaadddd(1), ssllaappdd(8) "OpenLDAP Administrator's Guide" (http://www.OpenLDAP.org/doc/admin/) AACCKKNNOOWWLLEEDDGGEEMMEENNTTSS OOppeennLLDDAAPP is developed and maintained by The OpenLDAP Project (http://www.openldap.org/). OOppeennLLDDAAPP is derived from University of Michigan LDAP 3.3 Release. OpenLDAP 2.2.19 2004/11/26 SLAPADD(8C)