ldiff
Generate differences between two LDIF files
This script reads two RFC 2849 LDIF data description files and writes a series of change records to stdout that describe how to go from the first to the second. It determines the correct order to add and remove entries so that the LDAP tree structure isn't violated.
Screenshots
Sample usage:
$ slapcat -l old.ldif $ sed s/Bob/Robert/g <old.ldif >new.ldif $ ldiff old.ldif new.ldif | ldapmodify
Downloads
Debian packages
For Debian and Ubuntu, use the following APT source and apt-get install ldiff
:
deb http://non-gnu.uvt.nl/debian squeeze uvt deb-src http://non-gnu.uvt.nl/debian squeeze uvt
You may need to download the necessary GnuPG key (place it in /etc/apt/trusted.gpg.d
).
Sources
Sources can be downloaded from the downloads directory.