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

Re: (ITS#5348) slapcat on 2.3.38 to slapadd on 2.4.7 causes abort.

hachi@kuiki.net 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.


Ing. Pierangelo Masarati
OpenLDAP Core Team

SysNet s.r.l.
via Dossi, 8 - 27100 Pavia - ITALIA
Office:  +39 02 23998309
Mobile:  +39 333 4963172
Email:   pierangelo.masarati@sys-net.it