Issue 6766 - memberOf does not replicate specially crafted modifications
Summary: memberOf does not replicate specially crafted modifications
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: 2011-01-02 22:52 UTC by ando@openldap.org
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 ando@openldap.org 2011-01-02 14:53:15 UTC
moved from Incoming to Software Bugs
Comment 1 ando@openldap.org 2011-01-02 15:05:14 UTC
changed notes
changed state Open to Test
Comment 2 ando@openldap.org 2011-01-02 22:52:29 UTC
Full_Name: Pierangelo Masarati
Version: HEAD/re24
OS: irrelevant
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (2.40.10.16)
Submitted by: ando


If a modification deletes and recreates a member, something like

dn: cn=group
changetype: modify
delete: member
member: cn=user
-
add: member
member: cn=user
-

the operation succeeds on the provider, but only the delete is replicated.  This
occurs because the operation, within the memberOf overlay, results in two
separate operations:

dn: cn=user
changetype: modify
delete: memberOf
memberOf: cn=group

dn: cn=user
changetype: modify
add: memberOf
memberOf: cn=group

with the same CSN, although corresponding to different operations, so the
consumer ignores the second (btw, the CSN is the same of the modification that
affects the "cn=group" entry).

There may be two solutions: recognize that both operations affect the same
entry, and group them, or change the CSN.

p.
Comment 3 Quanah Gibson-Mount 2011-01-04 12:06:54 UTC
changed notes
changed state Test to Release
Comment 4 Quanah Gibson-Mount 2011-02-14 12:42:11 UTC
changed notes
changed state Release to Closed
Comment 5 OpenLDAP project 2014-08-01 21:04:32 UTC
fixed in HEAD
fixed in RE24