|
Copyright © 2000, 2001, 2002 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see http://www.gnu.org/licenses/.
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.
normally the primary instance which stores most of a company's data,
is 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.
|