1 .TH SLAPADD 8C "RELEASEDATE" "OpenLDAP LDVERSION"
3 .\" Copyright 1998-2006 The OpenLDAP Foundation All Rights Reserved.
4 .\" Copying restrictions apply. See COPYRIGHT/LICENSE.
6 slapadd \- Add entries to a SLAPD database
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
33 Databases configured as
35 of this one are also updated, unless \fB-g\fP is specified.
36 The LDIF input is read from standard input or the specified file.
40 is designed to accept LDIF in database order, as produced by
42 it does not verify that superior entries exist before
43 adding an entry, does not perform all user and system
44 schema checks, and does not maintain operational
45 attributes (such as createTimeStamp and modifiersName).
49 Use the specified \fIsuffix\fR to determine which database to
50 add entries to. The \-b cannot be used in conjunction
56 enable continue (ignore errors) mode.
59 enable debugging messages as defined by the specified
63 specify an alternative
68 specify a config directory.
73 are specified, the config file will be read and converted to
74 config directory format and written to the specified directory.
75 If neither option is specified, an attempt to read the
76 default config directory will be made before trying to use the default
77 config file. If a valid config directory exists then the
78 default config file is ignored. If dryrun mode is also specified,
79 no conversion will occur.
82 disable subordinate gluing. Only the specified database will be
83 processed, and not its glued subordinates (if any).
86 Jump to the specified line number in the LDIF file before processing
87 any entries. This allows a load that was aborted due to errors in the
88 input LDIF to be resumed after the errors are corrected.
91 Read LDIF from the specified file instead of standard input.
94 Add entries to the \fIdbnum\fR\-th database listed in the
95 configuration file. The
97 cannot be used in conjunction with the
101 .BI \-o " option[=value]"
106 Possible generic options/values are:
109 syslog=<subsystems> (see `\-s' in slapd(8))
110 syslog-level=<level> (see `\-S' in slapd(8))
111 syslog-user=<user> (see `\-l' in slapd(8))
116 enable quick (fewer integrity checks) mode. Does fewer consistency checks
117 on the input data, and no consistency checks when writing the database.
118 Improves the load time but if any errors or interruptions occur the resulting
119 database will be unusable.
122 disable schema checking. This option is intended to be used when loading
123 databases containing special objects, such as fractional objects on a
124 partial replica. Loading normal objects which do not conform to
125 schema may result in unexpected and ill behavior.
128 enable dry-run (don't write to backend) mode.
134 write syncrepl context information.
135 After all entries are added, the contextCSN
136 will be updated with the greatest CSN in the database.
140 should not be running
141 when you do this to ensure consistency of the database.
144 may not provide naming or schema checks. It is advisable to
147 when adding new entries into an existing directory.
149 To import the entries specified in file
153 database give the command:
157 SBINDIR/slapadd -l ldif
167 "OpenLDAP Administrator's Guide" (http://www.OpenLDAP.org/doc/admin/)