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
23 is used to add entries specified in LDAP Directory Interchange Format
27 It opens the given database determined by the database number or
28 suffix and adds entries corresponding to the provided LDIF to
30 Databases configured as
32 of this one are also updated.
33 The LDIF input is read from standard input or the specified file.
37 is designed to accept LDIF in database order, as produced by
39 it does not verify that superior entries exist before
40 adding an entry, does not perform all user and system
41 schema checks, and does not maintain operational
42 attributes (such as createTimeStamp and modifiersName).
49 enable continue (ignore errors) mode.
52 enable dry-run (don't write to backend) mode.
55 enable quick (fewer integrity checks) mode. Does fewer consistency checks
56 on the input data, and no consistency checks when writing the database.
57 Improves the load time but if any errors or interruptions occur the resulting
58 database will be unusable.
61 write syncrepl context information.
62 After all entries are added, the contextCSN
63 will be updated with the greatest CSN in the database.
66 enable debugging messages as defined by the specified
70 Use the specified \fIsuffix\fR to determine which database to
71 add entries to. The \-b cannot be used in conjunction
77 Add entries to the \fIdbnum\fR\-th database listed in the
78 configuration file. The
80 cannot be used in conjunction with the
85 specify an alternative
90 specify a config directory.
95 are specified, the config file will be read and converted to
96 config directory format and written to the specified directory.
97 If neither option is specified, an attempt to read the
98 default config directory wll be made before trying to use the default
99 config file. If a valid config directory exists then the
100 default config file is ignored. If dryrun mode is also specified,
101 no conversion will occur.
104 Read LDIF from the specified file instead of standard input.
108 should not be running
109 when you do this to ensure consistency of the database.
112 may not provide naming or schema checks. It is advisable to
115 when adding new entries into an existing directory.
117 To import the entries specified in file
121 database give the command:
125 SBINDIR/slapadd -l ldif
135 "OpenLDAP Administrator's Guide" (http://www.OpenLDAP.org/doc/admin/)
138 is developed and maintained by The OpenLDAP Project (http://www.openldap.org/).
140 is derived from University of Michigan LDAP 3.3 Release.