https://bugs.openldap.org/show_bug.cgi?id=9825
Issue ID: 9825 Summary: MemberOf group in group search not working Product: OpenLDAP Version: 2.6.1 Hardware: All OS: All Status: UNCONFIRMED Keywords: needs_review Severity: normal Priority: --- Component: overlays Assignee: bugs@openldap.org Reporter: erikdewaard@gmail.com Target Milestone: ---
Created attachment 891 --> https://bugs.openldap.org/attachment.cgi?id=891&action=edit database ldif
dynlist group in group search not working correctly.
Multiple queries needed before returning correct answer.
ldapsearch -H ldap:/// -LLL -x -b 'dc=example,dc=com' '(&(uid=user1)(memberOf=cn=groupingroup,ou=groups,dc=example,dc=com))' uid ldapsearch -H ldap:/// -LLL -x -b 'dc=example,dc=com' '(&(uid=user1)(memberOf=cn=groupingroup,ou=groups,dc=example,dc=com))' uid ldapsearch -H ldap:/// -LLL -x -b 'dc=example,dc=com' '(&(uid=user1)(memberOf=cn=groupingroup,ou=groups,dc=example,dc=com))' uid dn: uid=user1,ou=People,dc=example,dc=com uid: user1
-conf # stand-alone slapd config include /etc/openldap/schema/core.schema include /etc/openldap/schema/cosine.schema include /etc/openldap/schema/inetorgperson.schema include /etc/openldap/schema/rfc2307bis.schema include /etc/openldap/schema/dyngroup.schema # allow big PDUs from anonymous (for testing purposes) sockbuf_max_incoming 4194303
moduleload back_ldap moduleload dynlist
####################################################################### # database definitions ####################################################################### database config
database mdb suffix "dc=example,dc=com" rootdn "cn=Manager,dc=example,dc=com" rootpw secret directory /var/lib/ldap lastbind off overlay dynlist dynlist-attrset groupOfURLs memberURL uniqueMember+memberOf@groupOfUniqueNames* database monitor
https://bugs.openldap.org/show_bug.cgi?id=9825
--- Comment #1 from Howard Chu hyc@openldap.org --- Regression due to #9779. Reverting that fixes this, but of course breaks the other.
https://bugs.openldap.org/show_bug.cgi?id=9825
Howard Chu hyc@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |IN_PROGRESS Ever confirmed|0 |1
--- Comment #2 from Howard Chu hyc@openldap.org --- Fixed in https://git.openldap.org/openldap/openldap/-/merge_requests/517
https://bugs.openldap.org/show_bug.cgi?id=9825
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords|needs_review | Target Milestone|--- |2.5.12
https://bugs.openldap.org/show_bug.cgi?id=9825
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Assignee|bugs@openldap.org |hyc@openldap.org
https://bugs.openldap.org/show_bug.cgi?id=9825
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|IN_PROGRESS |RESOLVED Resolution|--- |FIXED
--- Comment #3 from Quanah Gibson-Mount quanah@openldap.org --- RE26:
• 2bb37ec7 by Howard Chu at 2022-04-27T15:42:03+00:00 ITS#9825 dynlist: don't lose earlier filter elements
• 2ae11040 by Howard Chu at 2022-04-27T15:42:07+00:00 ITS#9825 dynlist: add test case
RE25:
• bbb57490 by Howard Chu at 2022-04-27T15:43:02+00:00 ITS#9825 dynlist: don't lose earlier filter elements
• 357a9dec by Howard Chu at 2022-04-27T15:43:04+00:00 ITS#9825 dynlist: add test case
https://bugs.openldap.org/show_bug.cgi?id=9825
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |VERIFIED