[Date Prev][Date Next]
Re: Slapd blows away rdn (ITS#475)
I looked at oc_schema_check(), and initially we had something
in there to re-add the rdn if one of the clients like ud said
to replace the rdn. We were re-adding the attribute to the
attribute list, but the attribute/value would get deleted from the
indexes. So we 'd have a good entry, but noone could find it.
I'll look at this again, getting the latest version of modify.c
I'll also look at the 2.0 stuff "schema_check_entry"
> At 02:25 PM 3/17/00 -0500, Paul R. Turgyan wrote:
> >I ftp'd over paul_turgyan_000317.diff to you at about 14:25 est.
> Your patch backout recent changes to modify.c. Also,
> please provide unified (-u) patches whenever possible.
> Anyways, I think a better solution would be to modify
> oc_schema_check() to do the check and to return a specific
> result code/error text. And, optionally, s/oc_/entry_/.
> Then we'd be able to catch missing rdn on add and modify.