1 .TH SLAPADD 8C "RELEASEDATE" "OpenLDAP LDVERSION"
3 .\" Copyright 1998-2005 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,...]
24 is used to add entries specified in LDAP Directory Interchange Format
28 It opens the given database determined by the database number or
29 suffix and adds entries corresponding to the provided LDIF to
30 the database. The LDIF input is read from standard input or
35 is designed to accept LDIF in database order, as produced by
37 it does not verify that superior entries exist before
38 adding an entry, does not perform all user and system
39 schema checks, and does not maintain operational
40 attributes (such as createTimeStamp and modifiersName).
47 enable continue (ignore errors) mode.
50 enable dry-run (don't write to backend) mode.
53 If the LDIF input represents a syncrepl consumer replica,
54 promote it to the syncrepl provider's content after adding
58 If the LDIF input represents a syncrepl provider, demote
59 it to the syncrepl consumer replica after adding the entries.
66 rebuild the new syncrepl
67 information from the contents of the added entries.
68 The syncrepl information contained in the LDIF input
72 enable debugging messages as defined by the specified
76 Use the specified \fIsuffix\fR to determine which database to
77 add entries to. The \-b cannot be used in conjunction
83 Add entries to the \fIdbnum\fR\-th database listed in the
84 configuration file. The
86 cannot be used in conjunction with the
90 .BI \-i " rid1,rid2,..."
91 Specify the replication ids for one or more syncrepl consumer
92 replicas contained in the LDIF input. If omitted, 0 is used
93 as the replication id.
96 specify an alternative
101 Read LDIF from the specified file instead of standard input.
105 should not be running
106 when you do this to ensure consistency of the database.
109 may not provide naming or schema checks. It is advisable to
112 when adding new entries into an existing directory.
114 To import the entries specified in file
118 database give the command:
122 SBINDIR/slapadd -l ldif
132 "OpenLDAP Administrator's Guide" (http://www.OpenLDAP.org/doc/admin/)
135 is developed and maintained by The OpenLDAP Project (http://www.openldap.org/).
137 is derived from University of Michigan LDAP 3.3 Release.