]> git.sur5r.net Git - openldap/blob - doc/man/man8/ldif.8
Cast ber_read() arg to char*
[openldap] / doc / man / man8 / ldif.8
1 .TH LDIF 8C "22 September 1998" "OpenLDAP LDVERSION"
2 .SH NAME
3 ldif \- convert arbitrary data to LDIF format
4 .SH SYNOPSIS
5 .B SBINDIR/ldif [\-b] attr\-name
6 .LP
7 .SH DESCRIPTION
8 .LP
9 This program is used to convert arbitrary data to the
10 LDAP Directory Interchange Format (LDIF) described in
11 .BR ldif (5).
12 .B ldif
13 reads data from standard input, converts it,
14 and writes the corresponding LDIF output to standard output.
15 The output is suitable for use as a line in an
16 .BR ldif (5)
17 file.
18 .LP
19 Without the
20 .B \-b
21 flag,
22 .B ldif
23 considers its input a sequence of values to be
24 converted, one per line. With the
25 .B \-b
26 flag, 
27 .B ldif
28 considers its input as a single raw binary value to be
29 converted. This can be useful when converting binary data
30 such as a photo or audio attribute.
31 .LP
32 See "The SLAPD and SLURPD Administrator's Guide" for more details on
33 using this program.
34 .SH OPTIONS
35 .TP
36 .B \-b
37 This option specifies that
38 .B ldif
39 should interpret its input as a single binary value for conversion.
40 Otherwise, it interprets it as a sequence of lines, with each line
41 containing a single value.
42 .SH "SEE ALSO"
43 .BR ldap (3),
44 .BR ldif (5),
45 .BR ldif2ldbm (8),
46 .BR slapd (8)
47 .LP
48 "The SLAPD and SLURPD Administrator's Guide"
49 .SH ACKNOWLEDGEMENTS
50 .B      OpenLDAP
51 is developed and maintained by The OpenLDAP Project (http://www.openldap.org/).
52 .B      OpenLDAP
53 is derived from University of Michigan LDAP 3.3 Release.