ldbmcat(8)

ldbmcat8

Ldbm to ldif database format conversion utility

Usage

/usr/sbin/ldbmcat [-n] id2entry-file

Overview

This program is used to convert a slapd(8) LDBM database to the text LDAP Directory Interchange Format (LDIF). It opens the given id2entry-file and writes the corresponding LDIF output to standard output.

See "The SLAPD and SLURPD Administrator's Guide" for more details on using this program.

Options

-n

This option specifies that ldbmcat should not print entry IDs when it dumps out the database. Note that the printing of entry IDs is essential if you are going to use the LDIF format produced as input to ldif2index, for example, to create a new index file for use with an existing database.

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 the mail attribute, give these commands:

	/usr/sbin/ldbmcat id2entry.dbb > ldif
	/usr/sbin/ldif2index -i ldif -f slapd-config-file mail

Note that your slapd (8) should not be running (at least, not in read-write mode) when you do this to ensure consistency of the database.

Acknowledgements

OpenLDAP is developed and maintained by The OpenLDAP Project (http://www.openldap.org/). OpenLDAP is derived from University of Michigan LDAP 3.3 Release.

Releases

2 releases since Debian 2.1 (Slink); the text changed 1 time.

  1. 2.1
  2. 2.2

From openldapd 1:1.2.12-1 in Debian 2.2 (Potato). Also shipped by umich-ldapd. Parsed by carta from the page's man source.