Diff for /doc/man/man8/slapcat.8 between versions 1.19.2.4 and 1.31

version 1.19.2.4, 2005/09/01 20:28:10 version 1.31, 2006/05/24 16:05:04
Line 1 Line 1
 .TH SLAPCAT 8C "RELEASEDATE" "OpenLDAP LDVERSION"  .TH SLAPCAT 8C "RELEASEDATE" "OpenLDAP LDVERSION"
 .\" $OpenLDAP: pkg/ldap/doc/man/man8/slapcat.8,v 1.24 2005/09/01 11:20:27 hallvard Exp $  .\" $OpenLDAP: pkg/ldap/doc/man/man8/slapcat.8,v 1.30 2006/05/24 15:57:13 ando Exp $
 .\" Copyright 1998-2005 The OpenLDAP Foundation All Rights Reserved.  .\" Copyright 1998-2006 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
 .SH SYNOPSIS  .SH SYNOPSIS
 .B SBINDIR/slapcat  .B SBINDIR/slapcat
 .B [\-v]  .B [\-a filter]
   .B [\-b suffix]
 .B [\-c]  .B [\-c]
 .B [\-d level]  .B [\-d level]
 .B [\-b suffix]  
 .B [\-n dbnum]  
 .B [\-a filter]  
 .B [\-s subtree-dn]  
 .B [\-f slapd.conf]  .B [\-f slapd.conf]
   .B [\-F confdir]
   .B [\-g]
 .B [\-l ldif-file]  .B [\-l ldif-file]
   .B [\-n dbnum]
   .B [\-o name[=value]
   .B [\-s subtree-dn]
   .B [\-v]
 .B   .B 
 .LP  .LP
 .SH DESCRIPTION  .SH DESCRIPTION
Line 29  suffix and writes the corresponding LDIF Line 32  suffix and writes the corresponding LDIF
 the specified file.  the specified file.
 Databases configured as  Databases configured as
 .B subordinate  .B subordinate
 of this one are also output.  of this one are also output, unless \fB-g\fP is specified.
 .LP  .LP
 The LDIF generated by this tool is suitable for use with  The entry records are presented in database order, not superior first
   order.  The entry records will include all (user and operational)
   attributes stored in the database.  The entry records will not include
   dynamically generated attributes (such as subschemaSubentry).
   .LP
   The output of slapcat is intended to be used as input to
 .BR slapadd (8).  .BR slapadd (8).
 As the entries are in database order, not superior first order,  The output of slapcat cannot generally be used as input to
 they cannot be loaded with  
 .BR ldapadd (1)  .BR ldapadd (1)
 without first being reordered.  or other LDAP clients without first editing the output.
   This editing would normally include reordering the records
   into superior first order and removing no-user-modification
   operational attributes.
 .SH OPTIONS  .SH OPTIONS
 .TP  .TP
 .B \-v  .BI \-a " filter"
 Enable verbose mode.  Only dump entries matching the asserted filter.
   For example
   
   slapcat -a \\
       "(!(entryDN:dnSubtreeMatch:=ou=People,dc=example,dc=com))"
   
   will dump all but the "ou=People,dc=example,dc=com" subtree
   of the "dc=example,dc=com" database.
   .TP
   .BI \-b " suffix" 
   Use the specified \fIsuffix\fR to determine which database to
   generate output for.  The \-b cannot be used in conjunction
   with the
   .B \-n
   option.
 .TP  .TP
 .B \-c  .B \-c
 Enable continue (ignore errors) mode.  Enable continue (ignore errors) mode.
Line 49  Enable continue (ignore errors) mode. Line 73  Enable continue (ignore errors) mode.
 Enable debugging messages as defined by the specified  Enable debugging messages as defined by the specified
 .IR level .  .IR level .
 .TP  .TP
 .BI \-b " suffix"   .BI \-f " slapd.conf"
 Use the specified \fIsuffix\fR to determine which database to  Specify an alternative
 generate output for.  The \-b cannot be used in conjunction  .BR slapd.conf (5)
 with the  file.
 .B \-n  .TP
 option.  .BI \-F " confdir"
   specify a config directory.
   If both
   .B -f
   and
   .B -F
   are specified, the config file will be read and converted to
   config directory format and written to the specified directory.
   If neither option is specified, an attempt to read the
   default config directory will be made before trying to use the default
   config file. If a valid config directory exists then the
   default config file is ignored.
   .TP
   .B \-g
   disable subordinate gluing.  Only the specified database will be
   processed, and not its glued subordinates (if any).
   .TP
   .BI \-l " ldif-file"
   Write LDIF to specified file instead of standard output.
 .TP  .TP
 .BI \-n " dbnum"  .BI \-n " dbnum"
 Generate output for the \fIdbnum\fR\-th database listed in the  Generate output for the \fIdbnum\fR\-th database listed in the
Line 64  cannot be used in conjunction with the Line 106  cannot be used in conjunction with the
 .B \-b  .B \-b
 option.  option.
 .TP  .TP
 .BI \-a " filter"  .BI \-o " option[=value]"
 Only dump entries matching the asserted filter.  Specify an
 For example  .BR option
   with a(n optional)
 slapcat -a \\  .BR value .
     "(!(entryDN:dnSubtreeMatch:=ou=People,dc=example,dc=com))"  Possible generic options/values are:
   .LP
   .nf
                 syslog=<subsystems>  (see `\-s' in slapd(8))
                 syslog-level=<level> (see `\-S' in slapd(8))
                 syslog-user=<user>   (see `\-l' in slapd(8))
   
 will dump all but the "ou=People,dc=example,dc=com" subtree  .fi
 of the "dc=example,dc=com" database.  
 .TP  .TP
 .BI \-s " subtree-dn"  .BI \-s " subtree-dn"
 Only dump entries in the subtree specified by this DN.  Only dump entries in the subtree specified by this DN.
Line 82  or Line 128  or
 .B \-n  .B \-n
 option is given.  option is given.
 .TP  .TP
 .BI \-f " slapd.conf"  .B \-v
 Specify an alternative  Enable verbose mode.
 .BR slapd.conf (5)  
 file.  
 .TP  
 .BI \-l " ldif-file"  
 Write LDIF to specified file instead of standard output.  
 .SH LIMITATIONS  .SH LIMITATIONS
 In general, your  In general, your
 .BR slapd (8)  .BR slapd (8)

Removed from v.1.19.2.4  
changed lines
  Added in v.1.31


______________
© Copyright 1998-2020, OpenLDAP Foundation, info@OpenLDAP.org