https://bugs.openldap.org/show_bug.cgi?id=10369
Issue ID: 10369
Summary: Error when trying to modify the olcDbCheckpoint attr:
'olcMultiProvider' cannot have multiple values
Product: OpenLDAP
Version: 2.6.10
Hardware: All
OS: All
Status: UNCONFIRMED
Keywords: needs_review
Severity: normal
Priority: ---
Component: slapd
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
When trying to modify the olcDbCheckpoint, I get an error on the
olcMultiProvider attribute
Here are the logs I get:
juil. 17 13:03:32 openldap1 slapd[17224]: conn=1012 op=3 MOD
dn="olcDatabase={3}mdb,cn=config"
juil. 17 13:03:32 openldap1 slapd[17224]: conn=1012 op=3 MOD
attr=olcDbCheckpoint
juil. 17 13:03:32 openldap1 slapd[17224]: slap_get_csn: conn=1012 op=3
generated new csn=20250717130332.671384Z#000000#00b#000000 manage=1
juil. 17 13:03:32 openldap1 slapd[17224]: slap_queue_csn: queueing
0x7f02cc104b80 20250717130332.671384Z#000000#00b#000000
juil. 17 13:03:32 openldap1 slapd[17224]: Entry (olcDatabase={3}mdb,cn=config),
attribute 'olcMultiProvider' cannot have multiple values
juil. 17 13:03:32 openldap1 slapd[17224]: conn=1012 op=3 RESULT tag=103 err=19
qtime=0.000008 etime=0.000185 text=attribute 'olcMultiProvider' cannot >
juil. 17 13:03:32 openldap1 slapd[17224]: slap_graduate_commit_csn: removing
0x7f02cc104b80 20250717130332.671384Z#000000#00b#000000
juil. 17 13:03:32 openldap1 slapd[17224]: conn=1012 op=4 UNBIND
Here is the content of the olcDatabase={3}mdb,cn=config entry:
"olcDatabase={3}mdb,cn=config",
{
"objectClass":[
"olcDatabaseConfig",
"olcMdbConfig"
],
"olcDatabase":"{3}mdb",
"olcDbDirectory":"/usr/local/openldap/data/worteks/",
"olcSuffix":[
"o=service,o=worteks"
],
"olcAccess":[
"{0}to * by
dn=\"gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth\" read by
dn=\"uid=repl,ou=security,o=service,o=worteks\" read by anonymous auth by *
none break",
"{1}to attrs=userPassword by * none",
"{2}to dn.subtree=\"ou=security,o=service,o=worteks\" by * none",
"{3}to * by * none"
],
"olcAddContentAcl":true,
"olcLimits":[
"{0}dn=\"uid=repl,ou=security,o=service,o=worteks\" size=unlimited
time=unlimited",
"{1}dn=\"gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth\"
size=unlimited time=unlimited"
],
"olcRootDN":"cn=admin,o=service,o=worteks",
"olcRootPW":"secret",
"olcSyncrepl":[
"{0}rid=012 provider=ldap://openldap1:10389
binddn=\"uid=repl,ou=security,o=service,o=worteks\" bindmethod=simple
credentials=\"secret\" searchbase=\"o=service,o=worteks\"
logbase=\"cn=accesslog\"
logfilter=\"(&(objectClass=auditWriteObject)(reqResult=0))\"
type=refreshAndPersist retry=\"5 +\" timeout=1 syncdata=accesslog",
"{1}rid=011 provider=ldap://openldap2:10389
binddn=\"uid=repl,ou=security,o=service,o=worteks\" bindmethod=simple
credentials=\"secret\" searchbase=\"o=service,o=worteks\"
logbase=\"cn=accesslog\"
logfilter=\"(&(objectClass=auditWriteObject)(reqResult=0))\"
type=refreshAndPersist retry=\"5 +\" timeout=1 syncdata=accesslog"
],
"olcMultiProvider":true,
"olcDbCheckpoint":"1024 1",
"olcDbNoSync":true,
"olcDbIndex":[
"entryUUID eq",
"objectClass eq",
"entryCSN eq",
"uid eq",
"mailboxServiceIMAP eq",
"mailboxServicePOP eq",
"mailPrimaryAddress eq",
"mailAlternativeAddress eq",
"mailboxHiddenAlias eq"
],
"olcDbMaxSize":137438953472
}
In this context, I'm trying to modify the incorrect olcDbCheckpoint value from
'1024 1' to '0 1', and the olcMultiProvider has only one value.
--
You are receiving this mail because:
You are on the CC list for the issue.