From 492eb4b65b7997cfee7a59e0fc526686d6397c65 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Fri, 5 Oct 2001 19:48:59 +0000 Subject: [PATCH] Note that slapadd produces LDIF in database order not superior first order. Make note that slapcat doesn't check for superiors. --- doc/man/man8/slapadd.8 | 11 +++++++++-- doc/man/man8/slapcat.8 | 10 ++++++---- 2 files changed, 15 insertions(+), 6 deletions(-) diff --git a/doc/man/man8/slapadd.8 b/doc/man/man8/slapadd.8 index 6d6583c5b1..6e5a573998 100644 --- a/doc/man/man8/slapadd.8 +++ b/doc/man/man8/slapadd.8 @@ -1,6 +1,6 @@ -.TH SLAPADD 8C "20 August 2000" "OpenLDAP LDVERSION" +.TH SLAPADD 8C "2 October 2001" "OpenLDAP LDVERSION" .\" $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. .SH NAME 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 the database. The LDIF input is read from standard input or 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 .TP .B \-v diff --git a/doc/man/man8/slapcat.8 b/doc/man/man8/slapcat.8 index f90d5f4ea5..1a8fcd77f2 100644 --- a/doc/man/man8/slapcat.8 +++ b/doc/man/man8/slapcat.8 @@ -1,6 +1,6 @@ -.TH SLAPCAT 8C "20 August 2000" "OpenLDAP LDVERSION" +.TH SLAPCAT 8C "2 October 2000" "OpenLDAP LDVERSION" .\" $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. .SH NAME slapcat \- SLAPD database to LDIF utility @@ -27,9 +27,11 @@ suffix and writes the corresponding LDIF to standard output or the specified file. .LP The LDIF generated by this tool is suitable for use with -.BR ldapadd (1) -or .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 .TP .B \-v -- 2.39.5