[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
RE: B/Q: ldapmodify: -c option
[How] Can this be fixed to accomplish what was desired?
Would something like the following work?
dn: cn=person1,o=org1,c=de
changetype: modify
delete: description
changetype: modify
delete: description1
changetype: modify
delete: description2
________________________________
Glen Coakley, Sr. Software Engineer
MQSoftware Inc., (763) 543-4845
> -----Original Message-----
> From: Kurt D. Zeilenga [mailto:Kurt@OpenLDAP.org]
> Sent: Thursday, May 31, 2001 8:34 AM
> To: Heiko Nardmann
> Cc: openldap-bugs@OpenLDAP.org
> Subject: Re: B/Q: ldapmodify: -c option
>
>
> At 05:19 AM 5/31/01, Heiko Nardmann wrote:
> >-----BEGIN PGP SIGNED MESSAGE-----
> >Hash: SHA1
> >
> >I have ldif files like the following one which shall delete several
> >attributes of an entry:
> >
> >dn: cn=person1,o=org1,c=de
> >changetype: modify
> >delete: description
> >- -
> >delete: description1
> >- -
> >delete: description2
> >- -
>
> This LDIF represents one LDAP modify operation with three
> attribute deletions. It will either succeed or fail as a
> whole per RFC 2251/X.511.
>
> >Now my problem is that ldapmodify stops if one of the
> attributes does not
> >exist for this entry. Looking at the man page I found the
> '-c' option which
> >shall ignore errors during processing.
>
> ldapmodify was given input describing one operation. It has
> nothing left to do but to exit.
>