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

RE: delete objectclass & attr



However, doing this cause object class violation because attr still there
I have a objclass "PortalUser" and this objclass contains "portaluser" (and
some others) as require field. 
Still can find a way to remove an obj class with its attrs.

Thanks,
Keith Yeung

-----Original Message-----
From: Turbo Fredriksson [mailto:turbo@nocrew.org]
Sent: Tuesday, August 22, 2000 2:36 AM
To: Keith, Yeung Wai Kin
Cc: openldap-software@OpenLDAP.org
Subject: Re: delete objectclass & attr


Quoting "Keith, Yeung Wai Kin" <Keith.Yeung@corp.sunday.com>:

> Actually I don't know the syntax to remove oc, tried below but failed.
> 
> dn: uid=40002308, dc=sunday, dc=com
> changetype: modify
> delete: objectclass=portalUser  ### ?? don't know how

Should be:

delete: objectclass
objectclass: portalUser