Dear listmembers,
After upgrading from openldap 2.4.21 to 2.4.25 my olcDbCacheSize entry seems to have gone awoll. I tried to fix that with the following ldif file:
dn: olcDatabase={1}hdb,cn=config changetype:modify add: olcDbCachesize olcDbCachesize: 10000
but I got this errormessage:
modifying entry "olcDatabase={1}hdb,cn=config" ldap_modify: Inappropriate matching (18) additional info: modify/add: olcDbCacheSize: no equality matching rule
Does anybody have any idea what is wrong? Many thanks in advance,
Gerard Ranke
Gerard Ranke wrote:
I tried to fix that with the following ldif file:
dn: olcDatabase={1}hdb,cn=config changetype:modify
^^ Missing space char after colon here.
add: olcDbCachesize olcDbCachesize: 10000
but I got this errormessage:
modifying entry "olcDatabase={1}hdb,cn=config" ldap_modify: Inappropriate matching (18) additional info: modify/add: olcDbCacheSize: no equality matching rule
You're trying to add an additional attribute value. In this case slapd checks whether the value is already present in the attribute. This only works if there's an equality matching rule defined for the attribute type.
Try using replace instead.
replace: olcDbCachesize olcDbCachesize: 10000
Ciao, Michael.
openldap-technical@openldap.org