https://bugs.openldap.org/show_bug.cgi?id=10397
Issue ID: 10397 Summary: Presence of "auditContext" in root database entry can break replication Product: OpenLDAP Version: 2.6.10 Hardware: All OS: All Status: UNCONFIRMED Keywords: needs_review Severity: normal Priority: --- Component: slapd Assignee: bugs@openldap.org Reporter: quanah@openldap.org Target Milestone: ---
When bootstrapping a new environment, I found that the:
"auditContext: cn=accesslog"
attribute that is added on a provider breaks replication when attempting to replicate to a consumer that has no database present and lacks the accesslog overlay, since that is what defines the attribute in question. Instead we get a corrupted entry with an inability to write to the local database.
https://bugs.openldap.org/show_bug.cgi?id=10397
--- Comment #1 from Ondřej Kuzník ondra@mistotebe.net --- On Mon, Oct 06, 2025 at 11:19:46PM +0000, openldap-its@openldap.org wrote:
When bootstrapping a new environment, I found that the:
"auditContext: cn=accesslog"
attribute that is added on a provider breaks replication when attempting to replicate to a consumer that has no database present and lacks the accesslog overlay, since that is what defines the attribute in question. Instead we get a corrupted entry with an inability to write to the local database.
Hi Quanah, this attribute does not normally get sent when you include the syncrepl control so it's strange that your consumers are seeing it, how are they reaching this DB? Are you sure that syncprov is actually configured on the provider?
Regards,
https://bugs.openldap.org/show_bug.cgi?id=10397
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |WONTFIX Keywords|needs_review | Status|UNCONFIRMED |RESOLVED
https://bugs.openldap.org/show_bug.cgi?id=10397
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |VERIFIED