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

Re: (ITS#8337) olcDbChecksum not allowed in olcHdbConfig/olcBdbConfig



kenneth.penza@gov.mt wrote:
> Full_Name: Kenneth Penza
> Version: 2.4.43
> OS: CentOS 7.1
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (46.11.36.84)
>
>
> olcDbChecksum is not accepted for BDB and HDB backends (whilst its documented in
> the manual pages). Below please find files and steps to reproduce.

Thanks for the report, fixed now in git master.
>
> File attached:
>
> configbdb.ldif - ldif file to create config database with BDB backend and
> checksum enabled. Uploaded in
> ftp://ftp.openldap.org/incoming/kenneth-penza-151212-configbdb.ldif
>
> confighdb.ldif - ldif file to create config database with HDB backend and
> checksum enabled. Uploaded in
> ftp://ftp.openldap.org/incoming/kenneth-penza-151212-confighdb.ldif
>
> Test case:
>
> mkdir -p /tmp/dummyconfig/slapd.d.{b,h}db
> cd /tmp/dummyconfig
>
> slapadd -v -F slapd.d.bdb -n 0 -l configbdb.ldif
> slapadd -v -F slapd.d.hdb -n 0 -l confighdb.ldif
>
>
> For BDB it reports:
>
> 566c3f04 Entry (olcDatabase={2}bdb,cn=config), attribute 'olcDbChecksum' not
> allowed
> slapadd: dn="olcDatabase={2}bdb,cn=config" (line=1070): (65) attribute
> 'olcDbChecksum' not allowed
>
> For HDB it reports:
>
> 566c41e2 Entry (olcDatabase={2}hdb,cn=config), attribute 'olcDbChecksum' not
> allowed
> slapadd: dn="olcDatabase={2}hdb,cn=config" (line=1070): (65) attribute
> 'olcDbChecksum' not allowed
>
> Kenneth
>
>


-- 
   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/