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

Re: Problem making refint_nothing working



katgb wrote:
Hi all,

I tried for some days to make refint overlay work with refint_nothing filled.

The slapo-refint man page says :

        refint_nothing <string>
               Specify an arbitrary value to be used as a placeholder when the
last value would otherwise be deleted from an attribute. This can be useful in
cases where the schema requires the existence of an attribute  for  which
               referential integrity is enforced. The attempted deletion of a
required attribute will otherwise result in an Object Class Violation, causing
the request to fail.  The string must be a valid DN.


but each time I try to delete the last member from a groupOfNames group, the
deletion is refused because of schema violation. That's ok without
refint_nothing but with the string set it should replace last member, right ?

No. The refint_nothing value only affects modifications that the refint overlay itself would make when trying to maintain integrity. It doesn't interfere with user modification requests at all.

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