1
1
.TH SLAPADD 8C "RELEASEDATE" "OpenLDAP LDVERSION"
2
.\" $OpenLDAP: pkg/ldap/doc/man/man8/slapadd.8,v 1.34.2.8 2008/02/11 23:26:40 kurt Exp $
3
.\" Copyright 1998-2008 The OpenLDAP Foundation All Rights Reserved.
2
.\" Copyright 1998-2009 The OpenLDAP Foundation All Rights Reserved.
4
3
.\" Copying restrictions apply. See COPYRIGHT/LICENSE.
4
.\" $OpenLDAP: pkg/ldap/doc/man/man8/slapadd.8,v 1.34.2.13 2009/06/08 18:01:09 quanah Exp $
6
6
slapadd \- Add entries to a SLAPD database
14
.BI \-d \ debug-level\fR]
16
.BI \-f \ slapd.conf\fR]
24
.BI \-l \ ldif-file\fR]
28
.BI \-o \ option\fR[ = value\fR]]
35
51
Databases configured as
37
of this one are also updated, unless \fB-g\fP is specified.
53
of this one are also updated, unless \fB\-g\fP is specified.
38
54
The LDIF input is read from standard input or the specified file.
40
56
All files eventually created by
52
68
or change file ownership before running
71
Note: slapadd will also perform the relevant indexing whilst adding the database if
72
any are configured. For specfic details, please see
57
77
Use the specified \fIsuffix\fR to determine which database to
58
add entries to. The \-b cannot be used in conjunction
78
add entries to. The \fB\-b\fP cannot be used in conjunction
64
84
enable continue (ignore errors) mode.
67
87
enable debugging messages as defined by the specified
74
94
specify an alternative
79
99
specify a config directory.
84
104
are specified, the config file will be read and converted to
85
105
config directory format and written to the specified directory.
86
106
If neither option is specified, an attempt to read the
87
107
default config directory will be made before trying to use the default
88
108
config file. If a valid config directory exists then the
89
default config file is ignored. If dryrun mode is also specified,
109
default config file is ignored. If dry-run mode is also specified,
90
110
no conversion will occur.
93
113
disable subordinate gluing. Only the specified database will be
94
114
processed, and not its glued subordinates (if any).
97
117
Jump to the specified line number in the LDIF file before processing
98
118
any entries. This allows a load that was aborted due to errors in the
99
119
input LDIF to be resumed after the errors are corrected.
102
122
Read LDIF from the specified file instead of standard input.
105
Add entries to the \fIdbnum\fR\-th database listed in the
125
Add entries to the \fIdbnum\fR-th database listed in the
106
126
configuration file. The
108
128
cannot be used in conjunction with the
131
To populate the config database
132
.BR slapd\-config (5),
135
as it is always the first database. It must physically exist
136
on the filesystem prior to this, however.
112
.BI \-o " option[=value]"
138
.BI \-o \ option\fR[ = value\fR]
115
141
with a(n optional)
117
143
Possible generic options/values are:
120
146
syslog=<subsystems> (see `\-s' in slapd(8))
121
syslog-level=<level> (see `\-S' in slapd(8))
122
syslog-user=<user> (see `\-l' in slapd(8))
147
syslog\-level=<level> (see `\-S' in slapd(8))
148
syslog\-user=<user> (see `\-l' in slapd(8))
129
155
Improves the load time but if any errors or interruptions occur the resulting
130
156
database will be unusable.
133
159
disable schema checking. This option is intended to be used when loading
134
160
databases containing special objects, such as fractional objects on a
135
161
partial replica. Loading normal objects which do not conform to
136
162
schema may result in unexpected and ill behavior.
139
165
Server ID to use in generated entryCSN. Also used for contextCSN
140
if `\-w' is set as well. Defaults to 0.
166
if \fB\-w\fP is set as well. Defaults to \fB0\fP.
143
169
enable dry-run (don't write to backend) mode.