[Date Prev][Date Next]
Re: ldapmodify command question...
--On Tuesday, August 10, 2004 8:28 PM -0400 John Von Essen
Is it possible to do the following:
I have a couple hundred DN's in an ldif file that look like:
cn: Bob Jones
The question is some of the dn's in my ldif file are new and do not exist
in LDAP server (so I add them with -x -a -f). Some entries however, do
already exist in LDAP - but I want to get rid of what is currently in
LDAP and force the ADD of what is in the ldif file. The entry in ldif
might be identical to what is in LDAP, or it might be different - either
way, the data in the ldif file is superior.
I suggest a single pass first, finding what ones already exist. Delete
them, then use ldapadd to add the entire file.
Principal Software Developer
GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html