From c5205edd12993fe204d0e220dd709f77aed2c9e7 Mon Sep 17 00:00:00 2001 From: Gavin Henry Date: Fri, 30 Jan 2009 00:04:19 +0000 Subject: [PATCH] (ITS#5891 Update slapdadd (and related tools) -n option --- doc/man/man8/slapadd.8 | 6 ++++++ doc/man/man8/slapcat.8 | 7 ++++++- doc/man/man8/slapindex.8 | 7 ++++++- 3 files changed, 18 insertions(+), 2 deletions(-) diff --git a/doc/man/man8/slapadd.8 b/doc/man/man8/slapadd.8 index 9d789db406..f5348d25ac 100644 --- a/doc/man/man8/slapadd.8 +++ b/doc/man/man8/slapadd.8 @@ -108,6 +108,12 @@ configuration file. The cannot be used in conjunction with the .B \-b option. +To populate the config database +.BR slapd-config (5), +use +.B \-n 0 +as it is always the first database. It must physically exist +on the filesystem prior to this, however. .TP .BI \-o " option[=value]" Specify an diff --git a/doc/man/man8/slapcat.8 b/doc/man/man8/slapcat.8 index 5e6981d713..8d01d6f937 100644 --- a/doc/man/man8/slapcat.8 +++ b/doc/man/man8/slapcat.8 @@ -103,7 +103,12 @@ Write LDIF to specified file instead of standard output. .TP .BI \-n " dbnum" Generate output for the \fIdbnum\fR\-th database listed in the -configuration file. The +configuration file. The config database +.BR slapd-config (5), +is always the first database, so use +.B \-n 0 + +The .B \-n cannot be used in conjunction with the .B \-b diff --git a/doc/man/man8/slapindex.8 b/doc/man/man8/slapindex.8 index 575e24859f..3327662fea 100644 --- a/doc/man/man8/slapindex.8 +++ b/doc/man/man8/slapindex.8 @@ -92,7 +92,12 @@ processed, and not its glued subordinates (if any). .TP .BI \-n " dbnum" Generate output for the \fIdbnum\fR\-th database listed in the -configuration file. The +configuration file. The config database +.BR slapd-config (5), +is always the first database, so use +.B \-n 0 + +The .B \-n cannot be used in conjunction with the .B \-b -- 2.39.5