1 .TH SLAPADD 8C "RELEASEDATE" "OpenLDAP LDVERSION"
3 .\" Copyright 1998-2007 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 Use the specified \fIsuffix\fR to determine which database to
41 add entries to. The \-b cannot be used in conjunction
47 enable continue (ignore errors) mode.
50 enable debugging messages as defined by the specified
57 specify an alternative
62 specify a config directory.
67 are specified, the config file will be read and converted to
68 config directory format and written to the specified directory.
69 If neither option is specified, an attempt to read the
70 default config directory will be made before trying to use the default
71 config file. If a valid config directory exists then the
72 default config file is ignored. If dryrun mode is also specified,
73 no conversion will occur.
76 disable subordinate gluing. Only the specified database will be
77 processed, and not its glued subordinates (if any).
80 Jump to the specified line number in the LDIF file before processing
81 any entries. This allows a load that was aborted due to errors in the
82 input LDIF to be resumed after the errors are corrected.
85 Read LDIF from the specified file instead of standard input.
88 Add entries to the \fIdbnum\fR\-th database listed in the
89 configuration file. The
91 cannot be used in conjunction with the
95 .BI \-o " option[=value]"
100 Possible generic options/values are:
103 syslog=<subsystems> (see `\-s' in slapd(8))
104 syslog-level=<level> (see `\-S' in slapd(8))
105 syslog-user=<user> (see `\-l' in slapd(8))
110 enable quick (fewer integrity checks) mode. Does fewer consistency checks
111 on the input data, and no consistency checks when writing the database.
112 Improves the load time but if any errors or interruptions occur the resulting
113 database will be unusable.
116 disable schema checking. This option is intended to be used when loading
117 databases containing special objects, such as fractional objects on a
118 partial replica. Loading normal objects which do not conform to
119 schema may result in unexpected and ill behavior.
122 enable dry-run (don't write to backend) mode.
128 write syncrepl context information.
129 After all entries are added, the contextCSN
130 will be updated with the greatest CSN in the database.
134 should not be running
135 when you do this to ensure consistency of the database.
138 may not provide naming or schema checks. It is advisable to
141 when adding new entries into an existing directory.
143 To import the entries specified in file
147 database give the command:
151 SBINDIR/slapadd -l ldif
161 "OpenLDAP Administrator's Guide" (http://www.OpenLDAP.org/doc/admin/)