https://bugs.openldap.org/show_bug.cgi?id=9227
Bug ID: 9227 Summary: Fix syncrepl exattrs to not delete local attrs Product: OpenLDAP Version: 2.4.50 Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: --- Component: slapd Assignee: bugs@openldap.org Reporter: quanah@openldap.org Target Milestone: ---
An issue with syncrepl using exattrs is that the local replica may delete attrs that are being managed by locally deployed overlays such as memberOf (See bug#7400 for example). This behavior needs to be fixed so that the locally managed attributes are not deleted when included in an exattrs statement.
https://bugs.openldap.org/show_bug.cgi?id=9227
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |blocker Target Milestone|--- |2.4.50
https://bugs.openldap.org/show_bug.cgi?id=9227
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|2.4.50 |2.4.51
https://bugs.openldap.org/show_bug.cgi?id=9227
--- Comment #1 from Howard Chu hyc@openldap.org --- (In reply to Quanah Gibson-Mount from comment #0)
An issue with syncrepl using exattrs is that the local replica may delete attrs that are being managed by locally deployed overlays such as memberOf (See bug#7400 for example). This behavior needs to be fixed so that the locally managed attributes are not deleted when included in an exattrs statement.
Actually, it looks to me like exattrs has been handled correctly for quite a few years now. We need to see a test case showing that it's actually broken.
https://bugs.openldap.org/show_bug.cgi?id=9227
--- Comment #2 from Howard Chu hyc@openldap.org --- Never mind, I see where a check was missing. Fixed now in master.
https://bugs.openldap.org/show_bug.cgi?id=9227
--- Comment #3 from Quanah Gibson-Mount quanah@openldap.org --- commit 5462fc26b500c8cf0b0d7377c556b1a3b8c6cf05 Author: Howard Chu hyc@openldap.org Date: Fri May 8 16:22:44 2020 +0100
ITS#9227 syncrepl: don't delete non-replicated attrs
commit f5ff1dad7e7a956636e99c838e06acb45f09d299 Author: Howard Chu hyc@openldap.org Date: Fri May 8 18:50:58 2020 +0100
ITS#9227 fix attr / opattr detection in prev commit
https://bugs.openldap.org/show_bug.cgi?id=9227
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED
--- Comment #4 from Quanah Gibson-Mount quanah@openldap.org --- RE24:
• cc79c9e8 by Howard Chu at 2020-05-11T21:45:44+00:00 ITS#9227 syncrepl: don't delete non-replicated attrs
• 1532254d by Howard Chu at 2020-05-11T21:45:51+00:00 ITS#9227 fix attr / opattr detection in prev commit
https://bugs.openldap.org/show_bug.cgi?id=9227
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.openldap.org/s | |how_bug.cgi?id=7400
https://bugs.openldap.org/show_bug.cgi?id=9227
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |VERIFIED