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
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
31 Databases configured as
33 of this one are also updated, unless \fB-g\fP is specified.
34 The LDIF input is read from standard input or the specified file.
38 is designed to accept LDIF in database order, as produced by
40 it does not verify that superior entries exist before
41 adding an entry, does not perform all user and system
42 schema checks, and does not maintain operational
43 attributes (such as createTimeStamp and modifiersName).
50 enable continue (ignore errors) mode.
53 disable subordinate gluing. Only the specified database will be
54 processed, and not its glued subordinates (if any).
57 disable schema checking. This option is intended to be used when loading
58 databases containing special objects, such as fractional objects on a
59 partial replica. Loading normal objects which do not conform to
60 schema may result in unexpected and ill behavior.
63 enable dry-run (don't write to backend) mode.
66 enable quick (fewer integrity checks) mode. Does fewer consistency checks
67 on the input data, and no consistency checks when writing the database.
68 Improves the load time but if any errors or interruptions occur the resulting
69 database will be unusable.
72 write syncrepl context information.
73 After all entries are added, the contextCSN
74 will be updated with the greatest CSN in the database.
77 enable debugging messages as defined by the specified
81 Use the specified \fIsuffix\fR to determine which database to
82 add entries to. The \-b cannot be used in conjunction
88 Add entries to the \fIdbnum\fR\-th database listed in the
89 configuration file. The
91 cannot be used in conjunction with the
96 specify an alternative
101 specify a config directory.
106 are specified, the config file will be read and converted to
107 config directory format and written to the specified directory.
108 If neither option is specified, an attempt to read the
109 default config directory will be made before trying to use the default
110 config file. If a valid config directory exists then the
111 default config file is ignored. If dryrun mode is also specified,
112 no conversion will occur.
115 Read LDIF from the specified file instead of standard input.
119 should not be running
120 when you do this to ensure consistency of the database.
123 may not provide naming or schema checks. It is advisable to
126 when adding new entries into an existing directory.
128 To import the entries specified in file
132 database give the command:
136 SBINDIR/slapadd -l ldif
146 "OpenLDAP Administrator's Guide" (http://www.OpenLDAP.org/doc/admin/)
149 is developed and maintained by The OpenLDAP Project (http://www.openldap.org/).
151 is derived from University of Michigan LDAP 3.3 Release.