1 .TH LDIF 5 "22 September 1998" "OpenLDAP LDVERSION"
3 ldif \- LDAP Data Interchange Format
5 The LDAP Data Interchange Format (LDIF) is used to represent LDAP
6 entries in text form. LDAP tools, such as
12 The basic form of an LDIF entry is:
16 dn: <distinguished name>
17 <attrtype>: <attrvalue>
18 <attrtype>: <attrvalue>
19 <attrtype>:: <base64-encoded-value>
25 The value may be specified as ASCII text or as base64 encoded data,
26 or a URL may be provided to the location of the attribute value.
28 A line may be continued by starting the next line with a single space
33 dn: cn=Barbara J Jensen, dc=Open
38 Multiple attribute values are specified on separate lines, e.g.,
47 If an value contains a non-printing character, or begins
48 with a space or a colon ':', the <attrtype> is followed by a
49 double colon and the value is encoded in base 64 notation. e.g.,
50 the value " begins with a space" would be encoded like this:
54 cn:: IGJlZ2lucyB3aXRoIGEgc3BhY2U=
58 If the attribute value is located in a file, the <attrtype> is
59 followed by a ':<' and a file:// URL. e.g., the value contained
60 in the file /tmp/value would be listed like this:
68 Multiple entries within the same LDIF file are separated by blank
71 Here is an example of an LDIF file containing three entries.
75 dn: cn=Barbara J Jensen, dc=OpenLDAP, dc=Org
79 description:< file://tmp/barbara
82 dn: cn=Bjorn J Jensen, dc=OpenLDAP, dc=Org
88 dn: cn=Jennifer J Jensen, dc=OpenLDAP, dc=Org
93 jpegPhoto:: /9j/4AAQSkZJRgABAAAAAQABAAD/2wBDABALD
94 A4MChAODQ4SERATGCgaGBYWGDEjJR0oOjM9PDkzODdASFxOQ
95 ERXRTc4UG1RV19iZ2hnPk1xeXBkeFxlZ2P/2wBDARESEhgVG
100 Notice that the jpegPhoto in Jennifer Jensen's entry is encoded using
107 "The SLAPD and SLURPD Administrator's Guide"
110 is developed and maintained by The OpenLDAP Project (http://www.openldap.org/).
112 is derived from University of Michigan LDAP 3.3 Release.