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

(ITS#6363) back-config fails on some modify operations

Full_Name: Ralf Haferkamp
Version: RE24, Head
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (


I have the following entry in cn=config:

dn: olcDatabase={0}config,cn=config
objectClass: olcDatabaseConfig
olcDatabase: {0}config
olcAccess: {0}to * by self none
olcRootDN: cn=config
olcRootPW: secret
olcSecurity: simple_bind=128

Doing this modification:
dn: olcDatabase={0}config,cn=config
replace: olcAccess
olcAccess: to * by * none
delete: olcSecurity
olcSecurity: simple_bind=128

fails with: 

modifying entry "olcDatabase={0}config,cn=config"
ldap_modify: Other (e.g., implementation specific) error (80)
        additional info: <olcAccess> unknown factor

slapd logs:
Nov  5 14:41:42 devel slapd[29934]: olcAccess: value #0: <olcAccess> unknown
factor p&#65533;&#65533;&#374;
Nov  5 14:41:42 devel slapd[29934]: conn=10 op=1 RESULT tag=103 err=80
text=<olcAccess> unknown factor

The problem seems to be that ca->argv[] isn't correctly initialized in
config_modify_internal. I am working on a fix currently.