Issue 10167 - slapo-memberof should have a way of reacting to a member entry being added after group referencing it
Summary: slapo-memberof should have a way of reacting to a member entry being added af...
Status: RESOLVED FIXED
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: overlays (show other issues)
Version: unspecified
Hardware: All All
: --- normal
Target Milestone: 2.6.8
Assignee: OpenLDAP project
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-31 16:16 UTC by Ondřej Kuzník
Modified: 2024-04-28 13:11 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 Ondřej Kuzník 2024-01-31 16:16:01 UTC
If a group (with member: values) is added before the member entries exist, the memberof values never get populated. This can happen e.g. during replication.

No idea how it meshes with the refint functionality of memberof if it's indeed reconcilable at all.

Silly example (Hird's memberof will be empty):

```ldif
dn: cn=GNU,ou=Groups,dc=example,dc=com
objectClass: groupOfNames
member: cn=Hurd,ou=Groups,dc=example,dc=com

dn: cn=Hurd,ou=Groups,dc=example,dc=com
objectClass: groupOfNames
member: cn=Hird,ou=Groups,dc=example,dc=com
member: cn=Roger Rabbit,ou=People,dc=example,dc=com

dn: cn=Hird,ou=Groups,dc=example,dc=com
objectClass: groupOfNames
member: cn=Tweety Bird,ou=People,dc=example,dc=com
member: cn=Hurd,ou=Groups,dc=example,dc=com
```
Comment 2 Quanah Gibson-Mount 2024-02-15 18:19:49 UTC
head:

  • b3bbbb39 
by Howard Chu at 2024-02-06T01:22:58+00:00 
ITS#10167 slapo-memberof: add addcheck option

RE26:

  • e992b897 
by Howard Chu at 2024-02-15T17:56:16+00:00 
ITS#10167 slapo-memberof: add addcheck option