Issue 6363 - back-config fails on some modify operations
Summary: back-config fails on some modify operations
Status: VERIFIED FIXED
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: slapd (show other issues)
Version: unspecified
Hardware: All All
: --- normal
Target Milestone: ---
Assignee: OpenLDAP project
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-05 13:47 UTC by Ralf
Modified: 2014-08-01 21:04 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Ralf 2009-11-05 13:47:27 UTC
Full_Name: Ralf Haferkamp
Version: RE24, Head
OS: 
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (89.166.200.105)


Example:

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.
Comment 1 Ralf 2009-11-05 13:48:06 UTC
moved from Incoming to Software Bugs
Comment 2 Ralf 2009-11-05 15:29:04 UTC
changed notes
changed state Open to Test
Comment 3 Quanah Gibson-Mount 2009-11-17 16:09:31 UTC
changed notes
changed state Test to Release
Comment 4 Howard Chu 2009-11-30 05:34:29 UTC
changed notes
Comment 5 Howard Chu 2009-11-30 05:34:30 UTC
changed state Release to Closed
Comment 6 OpenLDAP project 2014-08-01 21:04:26 UTC
fixed in HEAD
fixed in RE24