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
25 is used to add entries specified in LDAP Directory Interchange Format
29 It opens the given database determined by the database number or
30 suffix and adds entries corresponding to the provided LDIF to
32 Databases configured as
34 of this one are also updated, unless \fB-g\fP is specified.
35 The LDIF input is read from standard input or the specified file.
39 is designed to accept LDIF in database order, as produced by
41 it does not verify that superior entries exist before
42 adding an entry, does not perform all user and system
43 schema checks, and does not maintain operational
44 attributes (such as createTimeStamp and modifiersName).
51 enable continue (ignore errors) mode.
54 disable subordinate gluing. Only the specified database will be
55 processed, and not its glued subordinates (if any).
58 enable dry-run (don't write to backend) mode.
61 enable quick (fewer integrity checks) mode. Does fewer consistency checks
62 on the input data, and no consistency checks when writing the database.
63 Improves the load time but if any errors or interruptions occur the resulting
64 database will be unusable.
67 write syncrepl context information.
68 After all entries are added, the contextCSN
69 will be updated with the greatest CSN in the database.
72 disable schema checking. This option is intended to be used when loading
73 databases containing special objects, such as fractional objects on a
74 partial replica. Loading normal objects which do not conform to
75 schema may result in unexpected and ill behavior.
78 enable debugging messages as defined by the specified
82 Use the specified \fIsuffix\fR to determine which database to
83 add entries to. The \-b cannot be used in conjunction
89 Add entries to the \fIdbnum\fR\-th database listed in the
90 configuration file. The
92 cannot be used in conjunction with the
97 specify an alternative
102 specify a config directory.
107 are specified, the config file will be read and converted to
108 config directory format and written to the specified directory.
109 If neither option is specified, an attempt to read the
110 default config directory will be made before trying to use the default
111 config file. If a valid config directory exists then the
112 default config file is ignored. If dryrun mode is also specified,
113 no conversion will occur.
116 Read LDIF from the specified file instead of standard input.
120 should not be running
121 when you do this to ensure consistency of the database.
124 may not provide naming or schema checks. It is advisable to
127 when adding new entries into an existing directory.
129 To import the entries specified in file
133 database give the command:
137 SBINDIR/slapadd -l ldif
147 "OpenLDAP Administrator's Guide" (http://www.OpenLDAP.org/doc/admin/)
150 is developed and maintained by The OpenLDAP Project (http://www.openldap.org/).
152 is derived from University of Michigan LDAP 3.3 Release.