[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: ldapmodify



Thanks for the reply, I figured out how to do it.  By deleting the
attribute first, and then the objectclass second (all in one modify
operation), it worked.


Gary Williams wrote:

> I guess the low road on this would be to first add the objectclass
> ExtensibleObject which effectively turns off schema checking for
> the entry (not attribute syntax validation, just allow/require
> checking).  Then you could remove the objectclass and attribute
> you want, then remove the ExtensibleObject objectclass.
>
> -----Original Message-----
> From: Richard Brunelle [mailto:rick@outerrym.com]
> Sent: Tuesday, August 14, 2001 2:43 PM
> To: openldap-software@OpenLDAP.org
> Subject: ldapmodify
>
> Can ldapmodify be used to delete objectclasses from an entry?  I am
> trying to delete an attribute that is required by an objectclass, but
> ldapmodify will not let me delete the attribute (objectclass
> violation).  I would like to delete both the attribute and the
> objectclass.  Anyone have any ideas?