-.TH LDIF2LDBM 8C "13 November 1995" "U-M LDAP LDVERSION"
+.TH LDIF2LDBM 8C "22 September 1998" "OpenLDAP LDVERSION"
.SH NAME
ldif2ldbm, ldif2index, ldif2id2entry, ldif2id2children \- LDIF to LDBM database format conversion utilities
.SH SYNOPSIS
-.B ETCDIR/ldif2ldbm
+.B SBINDIR/ldif2ldbm
.B \-i ldif\-input\-file
.B [\-d debug\-level] [\-f slapd\-config\-file]
-.B [\-j number\-of\-jobs]
+.B [\-j number\-of\-jobs] [\-n database#] [\-s sbindir]
.LP
-.B ETCDIR/ldif2index
+.B SBINDIR/ldif2index
.B \-i ldif\-input\-file
-.B [\-d debug\-level] [\-f slapd\-config\-file]
+.B [\-d debug\-level] [\-f slapd\-config\-file] [\-n database#]
.B attribute\-name
.LP
-.B ETCDIR/ldif2id2entry
+.B SBINDIR/ldif2id2entry
.B \-i ldif\-input\-file
-.B [\-d debug\-level] [\-f slapd\-config\-file]
+.B [\-d debug\-level] [\-f slapd\-config\-file] [\-n database#]
.LP
-.B ETCDIR/ldif2id2children
+.B SBINDIR/ldif2id2children
.B \-i ldif\-input\-file
-.B [\-d debug\-level] [\-f slapd\-config\-file]
+.B [\-d debug\-level] [\-f slapd\-config\-file] [\-n database#]
.LP
.SH DESCRIPTION
.LP
See <ldap.h> for details.
.TP
.BI \-f " slapd\-config\-file"
-This option
-Specifies the
+This option specifies the
.B slapd
configuration file. The default is
.BR ETCDIR/slapd.conf .
.TP
+.BI \-n " database#"
+This option specifies the database number within
+.B slapd
+configuration file to build. The default is the 1, the first.
+.TP
+.BI \-s " sbindir"
+This option specifies the location of dependent tools. The
+default is SBINDIR.
+.TP
.BI \-j " number\-of\-jobs"
This option only applies to the
.B ldif2ldbm
into an LDBM database with indexes as described in the
.I slapd
config file
-.BR /usr/local/etc/slapd.conf ,
+.BR ETCDIR/slapd.conf ,
give the command:
.LP
.nf
.ft tt
- ETCDIR/ldif2index -i ldif.input -f /usr/local/etc/slapd.conf
+ SBINDIR/ldif2index -i ldif.input -f ETCDIR/slapd.conf
.ft
.fi
.LP
-To do the same, but running two conversion sub-processes at a time,
+To build the second database listed in
+.BR ETCDIR/slapd.conf ,
+and to use three conversion sub-processes at a time,
give this command:
.LP
.nf
.ft tt
- ETCDIR/ldif2index -i ldif.input -f /usr/local/etc/slapd.conf -j 2
+ SBINDIR/ldif2index -i ldif.input -f ETCDIR/slapd.conf -n 2 -j 3
.ft
.fi
.LP
.BR edb2ldif (8)
.LP
"The SLAPD and SLURPD Administrator's Guide"
+.SH ACKNOWLEDGEMENTS
+.B OpenLDAP
+is developed and maintained by The OpenLDAP Project (http://www.openldap.org/).
+.B OpenLDAP
+is derived from University of Michigan LDAP 3.3 Release.