[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Is contextCSN SINGLE-VALUE?
Pierangelo Masarati wrote:
> Not now. However, I think I spotted (and probably fixed) another related
> issue. The key point is that slapadd -w simply checks, and in case
> updates, the first occurrence of contextCSN. I believe this is not
> correct: it should go through all occurrences to find if there's one with
> the same SID of maxcsn and, if maxcsn is larger than that, update it. If
> none matches, maxcsn should be added. For this purpose, I defined a
> CSNSIDMatch equality rule, that works for the CSN syntax, and allows to
> compare CSN values by SID only. I added this logic to slapadd -w and now
> things seem to work as expected.
Just for the records: <http://www.openldap.org/faq/data/cache/1145.html>
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
---------------------------------------