Emmanuel Lecharny wrote:
Hi guys,

just to be sure : if we try to remove a value from an existing
attributeType for an entry, and if this value does not exist, should we
generate an error or not ? Right now, we assume that this operation
succeed, because it does nothing.

For instance, if we try to remove  :

description: absent

from :
dn: cn=test
objectClass: top
objectClass: person
cn: test
sn: test
description: test
description: Just a test

we won't get an error.

Is this correct ?

Pretty sure it should fail and return NoSuchAttribute.

--
  -- Howard Chu
  CTO, Symas Corp.           http://www.symas.com
  Director, Highland Sun     http://highlandsun.com/hyc/
  Chief Architect, OpenLDAP  http://www.openldap.org/project/

Reply via email to