OpenDJ is an LDAPv3 compliant directory service, which has been developed for the Java platform, providing a high performance, highly available, and secure store for the identities managed by your organization. Its easy installation process, combined with the power of the Java platform makes OpenDJ the simplest, fastest directory to deploy and manage.
Collective attributes (virtual attributes) are not merged, only the attributes from the first entry are returned. This bug report was inspired in a very similar problem detected in the non-community version of OpenDJ.
To Reproduce
You must to create two CollectiveAttributeSubentry with the same collective attribute "myattr" and two differents values.
When an entry belongs to multiple entry collections, the entry's
values of each collective attribute are combined such that
independent sources of these values are not manifested to clients.
...
Collective attributes SHALL NOT be SINGLE-VALUED.
=> So it sounds like collective attribute values should be merged. Virtuals with other virtuals and reals values.
Current behavior
"uid=user.0,ou=people,dc=example,dc=com" only has the first collective attribute value "myattr: collective1".
If collectiveConflictBehavior is set to "merge-real-and-virtual" for both "cn=collective1" and "cn=collective2" AND if uid=user.0 has a real attribute "myattr", then only the real attribute values are returned for uid=user.0.
Describe the bug
Collective attributes (virtual attributes) are not merged, only the attributes from the first entry are returned. This bug report was inspired in a very similar problem detected in the non-community version of OpenDJ.
To Reproduce
You must to create two CollectiveAttributeSubentry with the same collective attribute "myattr" and two differents values.
E.g.
Expected behavior
According to RFC 3671:
=> So it sounds like collective attribute values should be merged. Virtuals with other virtuals and reals values.
Current behavior
Version