Visual RFC.
ALL RFCs / RFC 2849
Read the RFC ↗
RFC 2849 / DIRECTORY INTERCHANGE

Separate entries from change instructions

01

LDIF means LDAP Data Interchange Format. LDAP is the Lightweight Directory Access Protocol; a directory stores named entries with attributes such as cn (common name). A distinguished name, or DN, identifies an entry.

RFC 2849 · Definition and formal syntaxEXAMPLE
4 / 4
Separate entries from change instructionsA separate changetype: delete record requests removal of the named leaf entry. It is not delete: cn inside a modify record. A parsed change is only a request; the directory returns success or failure.Entries or change instructionsdn: cn=Mina,ou=Picnic,dc=examplechangetype: deleterequest deletion of this leaf entryResult may be success or failureDifferent from deleting one attributeRFC2849 · fictional data · simplified illustrations
04
Distinguish deleting an entry

A separate changetype: delete record requests removal of the named leaf entry. It is not delete: cn inside a modify record. A parsed change is only a request; the directory returns success or failure.

Source for this drawing: RFC 2849 · Read RFC source: Definition and formal syntax ↗

Protocol participantThreat or exceptionProtocol controlSimplified drawings · precise section references
New to this? Start hereA quick picture + helpful background

A message needs an address.

Think of a packet as a small addressed envelope. Devices pass it onward; transport protocols decide what delivery promises an application gets.

Helpful first, if these ideas are unfamiliar

These pictures are analogies to help you learn. The linked RFC explains the actual rules.

Related RFCs and changes

“Updates” changes part of an earlier RFC. “Obsoletes” replaces it. This list shows selected related documents.

KEY POINT

An LDIF file carries entry content or change records, never both kinds together. version: 1 identifies this format; without a version, an implementation MAY choose an older format.

  • An LDIF file carries entry content or change records, never both kinds together. version: 1 identifies this format; without a version, an implementation MAY choose an older format.
  • A record begins with dn:. A blank line separates records. Repeated attribute lines provide multiple values, not new entries.
  • Change records map to add, delete, modify and Modify DN operations. A change file describes requests, not proof that they were accepted. An ordinary delete targets a leaf entry.
DETAILS

Fictional directory data. Fragments illustrate the format; no file, URL or directory is accessed. Import outcomes still depend on schema, permissions and server support.

Read the RFC section ↗

All chapters in RFC 2849

Drawing view

Scroll the drawing to see every part. Playback controls stay above it.

RFC 9700 / CHAPTERS

Chapters

For full details, tables, algorithms, and exceptions, read the original RFC.

RFC status and corrections ↗