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

Re: (ITS#5412) Add operation should not require naming attrs



ando@sys-net.it writes:
>> slapadd: tools.c:494: bdb_tool_entry_put: Assertion `text->bv_val[0] ==
>> '\0'' failed.
>
> I only tested with ldapadd, but at a glance I don't see what could be the
> difference.

The protocol Add operation doesn't run into that assert.  Have only
looked briefly at the code, but I guess entry_schema_check()'s params
textbuf[0] (and textlen?) must be zeroed if they were filled with a
message but entry_schema_check() returns success anyway.
Don't know where (in which function) that should be done though.

-- 
Hallvard