Note that slapadd produces LDIF in database order not

superior first order.  Make note that slapcat doesn't
check for superiors.
This commit is contained in:
Kurt Zeilenga 2001-10-05 19:48:59 +00:00
parent 06a50e37b1
commit 492eb4b65b
2 changed files with 15 additions and 6 deletions

View File

@ -1,6 +1,6 @@
.TH SLAPADD 8C "20 August 2000" "OpenLDAP LDVERSION" .TH SLAPADD 8C "2 October 2001" "OpenLDAP LDVERSION"
.\" $OpenLDAP$ .\" $OpenLDAP$
.\" Copyright 1998-2000 The OpenLDAP Foundation All Rights Reserved. .\" Copyright 1998-2001 The OpenLDAP Foundation All Rights Reserved.
.\" Copying restrictions apply. See COPYRIGHT/LICENSE. .\" Copying restrictions apply. See COPYRIGHT/LICENSE.
.SH NAME .SH NAME
slapadd \- Add entries to a SLAPD database slapadd \- Add entries to a SLAPD database
@ -26,6 +26,13 @@ It opens the given database determined by the database number or
suffix and adds entries corresponding to the provided LDIF to suffix and adds entries corresponding to the provided LDIF to
the database. The LDIF input is read from standard input or the database. The LDIF input is read from standard input or
the specified file. the specified file.
.LP
As
.B slapadd
is designed to accept LDIF in database order, as produced by
.BR slapcat (8),
it does not verify that superior entries exist before
adding an entry.
.SH OPTIONS .SH OPTIONS
.TP .TP
.B \-v .B \-v

View File

@ -1,6 +1,6 @@
.TH SLAPCAT 8C "20 August 2000" "OpenLDAP LDVERSION" .TH SLAPCAT 8C "2 October 2000" "OpenLDAP LDVERSION"
.\" $OpenLDAP$ .\" $OpenLDAP$
.\" Copyright 1998-2000 The OpenLDAP Foundation All Rights Reserved. .\" Copyright 1998-2001 The OpenLDAP Foundation All Rights Reserved.
.\" Copying restrictions apply. See COPYRIGHT/LICENSE. .\" Copying restrictions apply. See COPYRIGHT/LICENSE.
.SH NAME .SH NAME
slapcat \- SLAPD database to LDIF utility slapcat \- SLAPD database to LDIF utility
@ -27,9 +27,11 @@ suffix and writes the corresponding LDIF to standard output or
the specified file. the specified file.
.LP .LP
The LDIF generated by this tool is suitable for use with The LDIF generated by this tool is suitable for use with
.BR ldapadd (1)
or
.BR slapadd (8). .BR slapadd (8).
As the entries are in database order, not superior first order,
they cannot be loaded with
.BR ldapadd (8)
without being reordered.
.SH OPTIONS .SH OPTIONS
.TP .TP
.B \-v .B \-v