LDIF File Format
Appendix A
LDAP Data Interchange Format
575
The LDIF syntax for representing a change to an entry in the directory is different
from the syntax described above. For information on using LDIF to modify
directory entries, see chapter 2, “Creating Directory Entries.”
Continuing Lines in LDIF
When you specify LDIF, you can break and continue, or fold, a line by indenting
the continued portion of the line by exactly one space. For example, the following
two statements are identical:
dn: cn=Jake Lupinski,dc=example,dc=com
dn: cn=Jake Lup
inski, dc=exa
mple,dc=com
You are not required to break and continue LDIF lines. However, doing so may
improve the readability of your LDIF file.
Representing Binary Data
You can represent binary data, such as a JPEG image, in LDIF using one of the
following methods:
• The standard LDIF notation, the lesser than (<) symbol. For example:
jpegphoto: < file:/path/to/photo
[
subtype
]
Optional.
Specifies subtype, language, binary, or
pronunciation. Use this tag to identify the language in
which the corresponding attribute value is expressed or
whether the attribute value is binary or a pronunciation
of an attribute value. For information on attribute
subtypes, see “Adding an Attribute Subtype,” on
page 53. For a complete list of the supported subtypes
tags, see Table D-2, on page 617.
attribute_value
Specifies the attribute value to be used with the attribute
type.
Table A-1
LDIF Fields
(Continued)
Field
Definition
Summary of Contents for DIRECTORY SERVER 7.1
Page 1: ...Administrator s Guide Red Hat Directory Server Version7 1 May 2005 Updated February 2009 ...
Page 20: ...20 Red Hat Directory Server Administrator s Guide May 2005 Glossary 619 Index 635 ...
Page 22: ...22 Red Hat Directory Server Administrator s Guide May 2005 ...
Page 26: ...26 Red Hat Directory Server Administrator s Guide May 2005 ...
Page 78: ...Maintaining Referential Integrity 78 Red Hat Directory Server Administrator s Guide May 2005 ...
Page 200: ...Assigning Class of Service 200 Red Hat Directory Server Administrator s Guide May 2005 ...
Page 488: ...488 Red Hat Directory Server Administrator s Guide May 2005 ...
Page 528: ...PTA Plug in Syntax Examples 528 Red Hat Directory Server Administrator s Guide May 2005 ...
Page 572: ...572 Red Hat Directory Server Administrator s Guide May 2005 ...
Page 612: ...Examples of LDAP URLs 612 Red Hat Directory Server Administrator s Guide May 2005 ...
Page 634: ...634 Red Hat Directory Server Administrator s Guide May 2005 ...