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

Re: olcDbCacheSize: no equality matching rule



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.