[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: commit: ldap/servers/slapd schema_init.c slapadd.c syncrepl.c
- To: OpenLDAP Commit <openldap-commit2devel@openldap.org>
- Subject: Re: commit: ldap/servers/slapd schema_init.c slapadd.c syncrepl.c
- From: Pierangelo Masarati <ando@sys-net.it>
- Date: Sun, 26 Aug 2007 16:12:39 +0200
- In-reply-to: <200708261339.l7QDdk62069878@cantor.openldap.org>
- References: <200708261339.l7QDdk62069878@cantor.openldap.org>
- User-agent: Mail/News 1.5.0.8 (X11/20061210)
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
---------------------------------------