RE: Bug when converting syncprov-checkpoint to olcSpCheckpoint?

"Kyle Blaney" <[email protected]>
Newsgroups gmane.network.openldap.general
Message-ID <86CE91CAB9446F4CAED7E3C3F664DA581FDAFA81@zcarhxm1.corp.nortel.com>
Thanks Pierangelo!  I've raised ITS#6370.

Kyle Blaney
 

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On
Behalf Of Pierangelo Masarati
Sent: November 10, 2009 3:21 AM
To: Dieter Kluenter
Cc: [email protected]
Subject: Re: Bug when converting syncprov-checkpoint to olcSpCheckpoint?

Dieter Kluenter wrote:
> "Kyle Blaney" <[email protected]> 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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.