Introduction
LDIF is a plain text format for the entries of an LDAP directory and for requests to
change them. It is specified in RFC
2849 and used by tools such as those of OpenLDAP
to export, import and modify directory data. Files use the extension
.ldif.
Structure
A file is a series of records separated by blank lines. A record starts with a
dn: line that names the entry, followed by lines of the form
attribute: value. A change record also has a changetype:
line, for adding, modifying, deleting or renaming. A value written after
:: is base64 encoded, and one after :< is a URL to read
it from. A line starting with a space continues the line before, and a line starting
with # is a comment.
Not described
This page is a first outline.
Known, not yet covered
- Reference: the full grammar of RFC 2849, the version line, controls and the details of each change type.
- Viewer: the site has no viewer for this format.
Links
Software
- OpenLDAP – directory server and tools such as ldapsearch, ldapadd and ldapmodify
- JXplorer – Java directory browser that edits LDIF files
- LDIFDE – Windows Server command for importing and exporting Active Directory data