ldif(8)

ldif8

Convert arbitrary data to ldif format

Usage

/usr/sbin/ldif [-b] attr-name

Overview

This program is used to convert arbitrary data to the LDAP Directory Interchange Format (LDIF) described in ldif(5). ldif reads data from standard input, converts it, and writes the corresponding LDIF output to standard output. The output is suitable for use as a line in an ldif(5) file.

Without the -b flag, ldif considers its input a sequence of values to be converted, one per line. With the -b flag, ldif considers its input as a single raw binary value to be converted. This can be useful when converting binary data such as a photo or audio attribute.

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

Options

-b

This option specifies that ldif should interpret its input as a single binary value for conversion. Otherwise, it interprets it as a sequence of lines, with each line containing a single value.

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.