1 .TH SLAPADD 8C "RELEASEDATE" "OpenLDAP LDVERSION"
3 .\" Copyright 1998-2005 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 enable dry-run (don't write to backend) mode.
60 enable quick (fewer integrity checks) mode. Does fewer consistency checks
61 on the input data, and no consistency checks when writing the database.
62 Improves the load time but if any errors or interruptions occur the resulting
63 database will be unusable.
66 write syncrepl context information.
67 After all entries are added, the contextCSN
68 will be updated with the greatest CSN in the database.
71 enable debugging messages as defined by the specified
75 Use the specified \fIsuffix\fR to determine which database to
76 add entries to. The \-b cannot be used in conjunction
82 Add entries to the \fIdbnum\fR\-th database listed in the
83 configuration file. The
85 cannot be used in conjunction with the
90 specify an alternative
95 specify a config directory.
100 are specified, the config file will be read and converted to
101 config directory format and written to the specified directory.
102 If neither option is specified, an attempt to read the
103 default config directory will be made before trying to use the default
104 config file. If a valid config directory exists then the
105 default config file is ignored. If dryrun mode is also specified,
106 no conversion will occur.
109 Read LDIF from the specified file instead of standard input.
113 should not be running
114 when you do this to ensure consistency of the database.
117 may not provide naming or schema checks. It is advisable to
120 when adding new entries into an existing directory.
122 To import the entries specified in file
126 database give the command:
130 SBINDIR/slapadd -l ldif
140 "OpenLDAP Administrator's Guide" (http://www.OpenLDAP.org/doc/admin/)
143 is developed and maintained by The OpenLDAP Project (http://www.openldap.org/).
145 is derived from University of Michigan LDAP 3.3 Release.