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

Re: commit: ldap/servers/slapd schema_init.c slapadd.c syncrepl.c



ando@OpenLDAP.org wrote:
> Update of /repo/OpenLDAP/pkg/ldap/servers/slapd
> 
> Modified Files:
> 	schema_init.c  1.407 -> 1.408
> 	slapadd.c  1.44 -> 1.45
> 	syncrepl.c  1.345 -> 1.346
> 
> Log Message:
> add support for CSNSIDMatch; use it to set contextCSN as appropriate when slapadd'ing -w

OK, I screwed, something similar was sort of already present (but
inconsistent) in slapd/ldapsync.c.  In fact, the SID portion of a CSN is
3-hex digits (that's how it's printed) but slap_parse_csn_sid() reads it
as strtoul(,,10) ! and compares the value with SLAP_SYNC_SID_MAX, which
is 4095 !!!.

p.



Ing. Pierangelo Masarati
OpenLDAP Core Team

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