1 .TH SLAPADD 8C "RELEASEDATE" "OpenLDAP LDVERSION"
3 .\" Copyright 1998-2004 The OpenLDAP Foundation All Rights Reserved.
4 .\" Copying restrictions apply. See COPYRIGHT/LICENSE.
6 slapadd \- Add entries to a SLAPD database
18 .B [\-i rid1,rid2,...]
26 is used to add entries specified in LDAP Directory Interchange Format
30 It opens the given database determined by the database number or
31 suffix and adds entries corresponding to the provided LDIF to
32 the database. The LDIF input is read from standard input or
37 is designed to accept LDIF in database order, as produced by
39 it does not verify that superior entries exist before
40 adding an entry, does not perform all user and system
41 schema checks, and does not maintain operational
42 attributes (such as createTimeStamp and modifiersName).
49 enable continue (ignore errors) mode.
52 enable dry-run (don't write to backend) mode.
55 If the LDIF input represents a syncrepl consumer replica,
56 promote it to the syncrepl provider's content after adding
60 If the LDIF input represents a syncrepl provider replica,
61 demote it to the syncrepl consumer replica after adding
69 rebuild the new syncrepl
70 information from the contents of the added entries.
71 The syncrepl information contained in the LDIF input
75 enable debugging messages as defined by the specified
79 Use the specified \fIsuffix\fR to determine which database to
80 add entries to. The \-b cannot be used in conjunction
86 Add entries to the \fIdbnum\fR\-th database listed in the
87 configuration file. The
89 cannot be used in conjunction with the
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.
99 specify an alternative
104 Read LDIF from the specified file instead of standard input.
108 should not be running
109 when you do this to ensure consistency of the database.
112 may not provide naming or schema checks. It is advisable to
115 when adding new entries into an existing directory.
117 To import a entries specified in file
121 database give the command:
125 SBINDIR/slapadd -l ldif
135 "OpenLDAP Administrator's Guide" (http://www.OpenLDAP.org/doc/admin/)
138 is developed and maintained by The OpenLDAP Project (http://www.openldap.org/).
140 is derived from University of Michigan LDAP 3.3 Release.