MAN page from Mandrake Other ldap-servers-3.3-3.i386.rpm
LDBMCAT
Section: Maintenance Commands (8C)
Updated: 13 November 1995
Index NAME
ldbmcat - LDBM to LDIF database format conversion utility
SYNOPSIS
/usr/sbin/ldbmcat [-n] id2entry-file
DESCRIPTION
This program is used to convert aslapd(8)LDBM database to the text LDAP Directory Interchange Format (LDIF).It opens the givenid2entry-fileand writes the corresponding LDIF output to standard output.
See "The SLAPD and SLURPD Administrator's Guide" for more details onusing this program.
OPTIONS
- -n
- This option specifies thatldbmcatshould not print entry IDs when it dumps out the database. Notethat the printing of entry IDs is essential if you are going touse the LDIF format produced as input toldif2index,for example, to create a new index file for use with an existingdatabase.
EXAMPLES
To make a text backup of your LDBM database and put it in a file called
ldif,give the command:
/usr/sbin/ldbmcat -n id2entry.dbb > ldif
To create a new index for themailattribute, give these commands:
/usr/sbin/ldbmcat id2entry.dbb > ldif /usr/sbin/ldif2index -i ldif -f slapd-config-file mail
Note that yourslapd (8)should not be running (at least, not in read-writemode) when you do this to ensure consistency of the database.
SEE ALSO
ldap(3),
ldif(5),
ldif2ldbm(8),
slapd(8)
"The SLAPD and SLURPD Administrator's Guide"
Index
- NAME
- SYNOPSIS
- DESCRIPTION
- OPTIONS
- EXAMPLES
- SEE ALSO
This document was created byman2html,using the manual pages.