What is LDIF

  • LDAP Data Interchange Format
    • Represents LDAP entries in text
    • Human readable format
    • Allows easy modification of data
    • Useful for doing bulk changes
      • dump db, run a script over, import back
    • Can use templates for additions
    • Good for backups and transferring data to another system
  • Utilities to convert from database to ldif and back
    • ldbmcat: ldbm database to ldif
    • ldif2ldbm: ldif to ldbm database