1 .TH SLAPADD 8C "RELEASEDATE" "OpenLDAP LDVERSION"
3 .\" Copyright 1998-2003 The OpenLDAP Foundation All Rights Reserved.
4 .\" Copying restrictions apply. See COPYRIGHT/LICENSE.
6 slapadd \- Add entries to a SLAPD database
22 is used to add entries specified in LDAP Directory Interchange Format
26 It opens the given database determined by the database number or
27 suffix and adds entries corresponding to the provided LDIF to
28 the database. The LDIF input is read from standard input or
33 is designed to accept LDIF in database order, as produced by
35 it does not verify that superior entries exist before
36 adding an entry, does not perform all user and system
37 schema checks, and does not maintain operational
38 attributes (such as createTimeStamp and modifiersName).
45 enable continue (ignore errors) mode.
48 enable dry-run (don't write to backend) mode.
51 enable debugging messages as defined by the specified
55 Use the specified \fIsuffix\fR to determine which database to
56 add entries to. The \-b cannot be used in conjunction
62 Add entries to the \fIdbnum\fR\-th database listed in the
63 configuration file. The
65 cannot be used in conjunction with the
70 specify an alternative
75 Read LDIF from the specified file instead of standard input.
78 If the LDIF input represents a syncrepl consumer replica,
79 promote it to the syncrepl provider replica after adding
83 If the LDIF input represents a syncrepl provider replica,
84 demote it to the syncrepl consumer replica after adding
88 When used with \-p or \-r, rebuild a new syncrepl
89 information from the contents of the added entries.
90 The syncrepl information contained in the LDIF input
93 .BI \-i " rid1,rid2,...*"
94 Specify the replication ids for one or more syncrepl consumer
95 replicas contained in the LDIF input. If omitted, 0 is used
96 as the replication id.
100 should not be running
101 when you do this to ensure consistency of the database.
104 may not provide naming or schema checks. It is advisable to
107 when adding new entries into an existing directory.
109 To import a entries specified in file
113 database give the command:
117 SBINDIR/slapadd -l ldif
127 "OpenLDAP Administrator's Guide" (http://www.OpenLDAP.org/doc/admin/)
130 is developed and maintained by The OpenLDAP Project (http://www.openldap.org/).
132 is derived from University of Michigan LDAP 3.3 Release.