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, demote
61 it to the syncrepl consumer replica after adding the entries.
68 rebuild the new syncrepl
69 information from the contents of the added entries.
70 The syncrepl information contained in the LDIF input
74 enable debugging messages as defined by the specified
78 Use the specified \fIsuffix\fR to determine which database to
79 add entries to. The \-b cannot be used in conjunction
85 Add entries to the \fIdbnum\fR\-th database listed in the
86 configuration file. The
88 cannot be used in conjunction with the
92 .BI \-i " rid1,rid2,..."
93 Specify the replication ids for one or more syncrepl consumer
94 replicas contained in the LDIF input. If omitted, 0 is used
95 as the replication id.
98 specify an alternative
103 Read LDIF from the specified file instead of standard input.
107 should not be running
108 when you do this to ensure consistency of the database.
111 may not provide naming or schema checks. It is advisable to
114 when adding new entries into an existing directory.
116 To import the entries specified in file
120 database give the command:
124 SBINDIR/slapadd -l ldif
134 "OpenLDAP Administrator's Guide" (http://www.OpenLDAP.org/doc/admin/)
137 is developed and maintained by The OpenLDAP Project (http://www.openldap.org/).
139 is derived from University of Michigan LDAP 3.3 Release.