]> git.sur5r.net Git - openldap/blob - doc/man/man8/slapadd.8
Remove -s (noschemacheck in favor of using global_schemacheck)
[openldap] / doc / man / man8 / slapadd.8
1 .TH SLAPADD 8C "20 August 2000" "OpenLDAP LDVERSION"
2 .\" $OpenLDAP$
3 .\" Copyright 1998-2000 The OpenLDAP Foundation All Rights Reserved.
4 .\" Copying restrictions apply.  See COPYRIGHT/LICENSE.
5 .SH NAME
6 slapadd \- Add entries to a SLAPD database
7 .SH SYNOPSIS
8 .B SBINDIR/slapadd
9 .B [\-v]
10 .B [\-c]
11 .B [\-d level]
12 .B [\-b suffix]
13 .B [\-n dbnum]
14 .B [\-f slapd.conf]
15 .B [\-l ldif-file]
16 .B 
17 .LP
18 .SH DESCRIPTION
19 .LP
20 .B Slapadd
21 is used to add entries specified in LDAP Directory Interchange Format
22 (LDIF) to a
23 .BR slapd (8)
24 database.
25 It opens the given database determined by the database number or
26 suffix and adds entries corresponding to the provided LDIF to
27 the database.  The LDIF input is read from standard input or
28 the specified file.
29 .LP
30 The LDIF generated by this tool is suitable for use with
31 .BR slapcat (8).
32 .SH OPTIONS
33 .TP
34 .B \-v
35 enable verbose mode.
36 .TP
37 .B \-c
38 enable continue (ignore errors) mode.
39 .TP
40 .BI \-d " level"
41 enable debugging messages as defined by the specified
42 .IR level .
43 .TP
44 .BI \-b " suffix" 
45 Use the specified \fIsuffix\fR to determine which database to
46 add entries to.  The \-b cannot be used in conjunction
47 with the
48 .B \-n
49 option.
50 .TP
51 .BI \-n " dbnum"
52 Add entries to the \fIdbnum\fR\-th database listed in the
53 configuration file.  The
54 .B \-n
55 cannot be used in conjunction with the
56 .B \-b
57 option.
58 .TP
59 .BI \-f " slapd.conf"
60 specify an alternative
61 .BR slapd.conf (5)
62 file.
63 .TP
64 .BI \-l " ldif-file"
65 Read LDIF from the specified file instead of standard input.
66 .SH LIMITATIONS
67 Your
68 .BR slapd (8)
69 should not be running 
70 when you do this to ensure consistency of the database.
71 .LP
72 .B slapadd 
73 may not provide naming or schema checks.  It is advisable to
74 use
75 .BR ldapadd (1)
76 when adding new entries into an existing directory.
77 .SH EXAMPLES
78 To import a entries specified in file
79 .B ldif
80 into your
81 .BR slapd (8)
82 database give the command:
83 .LP
84 .nf
85 .ft tt
86         SBINDIR/slapadd -l ldif
87 .ft
88 .fi
89 .SH "SEE ALSO"
90 .BR ldap (3),
91 .BR ldif (5),
92 .BR slapcat (8),
93 .BR ldapadd (1),
94 .BR slapd (8)
95 .LP
96 "OpenLDAP Administrator's Guide" (http://www.OpenLDAP.org/doc/admin/)
97 .SH ACKNOWLEDGEMENTS
98 .B      OpenLDAP
99 is developed and maintained by The OpenLDAP Project (http://www.openldap.org/).
100 .B      OpenLDAP
101 is derived from University of Michigan LDAP 3.3 Release.