Compares and adjusts ldif files with a running LDAP server
'Ldapdiff' compares ldif files with a running LDAP server and does an appropriate add/delete/update for every different entry/attribute. Essentially, it combines "diff" and "patch" in one application (although it is designed for "patching" ldap directories using ldif files, not for use on flat ascii files). ldap based directories often have problems with automatic updates, because the only offline interface between a company database and the ldap directory are ldif files, and the company's data is stored in a relational database, since it can be hard to keep an ldap database current. It is time consuming and difficult to create "ldif formatted deltas" for every database change. It is much easier to dump the whole data pool into a ldif formatted file and run ldapdiff. With ldapdiff it is possible to check every entry/attribute of an ldif file against a running ldap directory. ldapdiff can produce ldif delta files in ldap version 3 format, which can be fed, into tools like "ldapmodify", "ldapdelete" etc. ldapdiff is also able to modify, delete and add entries/attributes online.
20 June 2002
Leaders and contributors
Resources and communication
|Required to use||libiconv|
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the page “GNU Free Documentation License”.
The copyright and license notices on this page only apply to the text on this page. Any software or copyright-licenses or other similar notices described in this text has its own copyright notice and license, which can usually be found in the distribution or license text itself.