https://bugs.openldap.org/show_bug.cgi?id=9426
Issue ID: 9426 Summary: Paged results return duplicates Product: OpenLDAP Version: 2.4.56 Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: --- Component: slapd Assignee: bugs@openldap.org Reporter: quanah@openldap.org Target Milestone: ---
When performing a query that matches 744 entries, the number of returned entries varies depending on the page size requested.
For a page size of 300, it returns 767 entries For a page size of 500, it returns 759 entries
Running the results for sort -u correctly shows 744 unique entries. So anywhere from 15 to 23 duplicates are returned in the above case.
https://bugs.openldap.org/show_bug.cgi?id=9426
--- Comment #1 from Quanah Gibson-Mount quanah@openldap.org --- With a page size of 10, there are 2,042 non-unique entries returned. After running through sort -u, we have the correct result of 744.
https://bugs.openldap.org/show_bug.cgi?id=9426
Howard Chu hyc@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |TEST Component|slapd |overlays
--- Comment #2 from Howard Chu hyc@openldap.org --- Bug is due to use of dynlist in configuration. Fixed in master.
https://bugs.openldap.org/show_bug.cgi?id=9426
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.openldap.org/s | |how_bug.cgi?id=8372
https://bugs.openldap.org/show_bug.cgi?id=9426
--- Comment #3 from Quanah Gibson-Mount quanah@openldap.org --- Commits: • 354e678c by Howard Chu at 2020-12-15T22:55:47+00:00 ITS#9426 dynlist: don't add unexpanded groups at end of search if pagedResults is in use
https://bugs.openldap.org/show_bug.cgi?id=9426
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |subbarao@computer.org
--- Comment #4 from Quanah Gibson-Mount quanah@openldap.org --- *** Issue 8372 has been marked as a duplicate of this issue. ***
https://bugs.openldap.org/show_bug.cgi?id=9426
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |2.5.1 Status|RESOLVED |VERIFIED Resolution|TEST |FIXED