[Date Prev][Date Next]
Re: (ITS#5348) slapcat on 2.3.38 to slapadd on 2.4.7 causes abort.
<quote who="Pierangelo Masarati">
> Gavin Henry wrote:
>> <quote who="email@example.com">
>>> firstname.lastname@example.org wrote:
>>>> Tested against both HEAD and OPENLDAP_REL_ENG_2_4, same error:
>>>> slapadd: schema_init.c:3669: csnNormalize: Assertion `val->bv_len ==
>>>> (sizeof("YYYYmmddHHMMSS.uuuuuuZ#SSSSSS#SID#ssssss")-1)' failed.
>>> That assert() was added to trap incorrect values, since they should
>>> never happen run-time. Of course, this is not the case when
>>> slapadd'ing, since bulk loading can (and must be able to) include
>>> operational attrs like entryCSN. In any case, the value you're trying
>>> to slapadd, "2003061105:33:44Z#0x0003#0#0000", is invalid, and
>>> (probably, AFAIK) has never been in use with OpenLDAP software. When
>>> bulk-adding data, you should make sure it is reasonably acceptable.
>> But isn't this a slapcat from 2.3.38?
> But that CSN was not CREATED by 2.3.38, only merely stored by it
> (probably via slapadd).