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

RE: Bug when converting syncprov-checkpoint to olcSpCheckpoint?



Thanks Pierangelo!  I've raised ITS#6370.

Kyle Blaney
 

-----Original Message-----
From: openldap-software-bounces+kblaney=nortel.com@OpenLDAP.org
[mailto:openldap-software-bounces+kblaney=nortel.com@OpenLDAP.org] On
Behalf Of Pierangelo Masarati
Sent: November 10, 2009 3:21 AM
To: Dieter Kluenter
Cc: openldap-software@openldap.org
Subject: Re: Bug when converting syncprov-checkpoint to olcSpCheckpoint?

Dieter Kluenter wrote:
> "Kyle Blaney" <kblaney@nortel.com> writes:
> 
>> I am experiencing unexpected results when converting the 
>> syncprov-checkpoint option in file-based configuration to the 
>> olcSpCheckpoint attribute in online configuration.
>>
>> To reproduce the unexpected results:
>>
>> 1.  Configure OpenLDAP using file-based configuration that contains 
>> the following line:
>>
>> syncprov-checkpoint 100 10
>>
>> 2.  Convert file-based configuration to online configuration using 
>> the following command:
>>
>> slapd -f slapd.conf -F slapd.d
>>
>> My file-based configuration is converted to the cn=config database, 
>> but after conversion the value of the olcSpCheckpoint attribute in 
>> the olcOverlay={1} syncprov,olcDatabase={1}bdb,cn=config entry is 
>> "100 600" when I expect it to be the same as in my file-based
configuration ("100 10").
>>
>> Is this a bug or does the olcSpCheckpoint attribute use different 
>> units
>> (seconds) than the syncprov-checkpoint option (minutes)?
> 
> It seems that the slapo-syncprov(5) defines minutes, but the parser 
> converts minutes into seconds.
> Im am on 2.4.19 and get similar results

The bug is confirmed.  I wait for the ITS submission to commit the fix
with the ITS number.

p.