ldif(1Mldap)
ldif --
convert arbitrary data to LDIF format
Synopsis
/usr/bin/ldif [-b] attr-name
Description
The ldif program is used to convert arbitrary data to the
LDAP Directory Interchange Format (LDIF) described in
ldif(4ldap).
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(4ldap)
file.
Without the -b option, ldif considers its input a
sequence of values to be converted, one per line. With the -b
option, 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
Configuring and administering LDAP
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.
References
Intro(3ldap),
ldif(4ldap),
ldif2ldbm(1Mldap),
slapd(1Mldap)
Configuring and administering LDAP
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.