https://bugs.openldap.org/show_bug.cgi?id=10248
Issue ID: 10248 Summary: translucent + subordinate regression Product: OpenLDAP Version: 2.6.8 Hardware: x86_64 OS: Linux Status: UNCONFIRMED Keywords: needs_review Severity: normal Priority: --- Component: slapd Assignee: bugs@openldap.org Reporter: mike@nolta.net Target Milestone: ---
Created attachment 1027 --> https://bugs.openldap.org/attachment.cgi?id=1027&action=edit translucent + subordinate regression testcase, formatted for tests/data/regressions/
Hi,
Attached please find a testcase for a regression we noticed in a translucent + subordinate slapd configuration.
The test works in version 2.4.59, but fails in versions 2.5.5 and 2.6.8.
In a nutshell, search results from the subordinate database aren't being returned, even though (judging by the logs) they appear to be found.
Thanks,
-Mike
https://bugs.openldap.org/show_bug.cgi?id=10248
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |2.5.19 Keywords|needs_review |
https://bugs.openldap.org/show_bug.cgi?id=10248
--- Comment #1 from Ondřej Kuzník ondra@mistotebe.net --- On Tue, Aug 06, 2024 at 06:44:32PM +0000, openldap-its@openldap.org wrote:
Hi,
Attached please find a testcase for a regression we noticed in a translucent + subordinate slapd configuration.
The test works in version 2.4.59, but fails in versions 2.5.5 and 2.6.8.
In a nutshell, search results from the subordinate database aren't being returned, even though (judging by the logs) they appear to be found.
Hi Mike, thanks for the report and especially a full working script, it has helped track it down and a fix is now available here: https://git.openldap.org/openldap/openldap/-/merge_requests/717
Could you check it is working in your environment? Also would you be able to provide an IPR notice and update your script (at least adjusting the ITS reference) so we could add it to the regression test suite as well?
Many thanks,
https://bugs.openldap.org/show_bug.cgi?id=10248
mike@nolta.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #1027|0 |1 is obsolete| |
--- Comment #2 from mike@nolta.net --- Created attachment 1029 --> https://bugs.openldap.org/attachment.cgi?id=1029&action=edit its10248 testcase
https://bugs.openldap.org/show_bug.cgi?id=10248
--- Comment #3 from mike@nolta.net --- Comment on attachment 1029 --> https://bugs.openldap.org/attachment.cgi?id=1029 its10248 testcase
The attached patch file is derived from OpenLDAP Software. All of the modifications to OpenLDAP Software represented in the following patch(es) were developed by Michael Nolta mike@nolta.net. I have not assigned rights and/or interest in this work to any party.
I, Michael Nolta, hereby place the following modifications to OpenLDAP Software (and only these modifications) into the public domain. Hence, these modifications may be freely used and/or redistributed for any purpose with or without attribution and/or other notice.
https://bugs.openldap.org/show_bug.cgi?id=10248
--- Comment #4 from mike@nolta.net --- Thanks Ondřej! the patch appears to work.
https://bugs.openldap.org/show_bug.cgi?id=10248
Ondřej Kuzník ondra@mistotebe.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Status|UNCONFIRMED |IN_PROGRESS Assignee|bugs@openldap.org |ondra@mistotebe.net
https://bugs.openldap.org/show_bug.cgi?id=10248
--- Comment #5 from Quanah Gibson-Mount quanah@openldap.org --- head:
• f8caf85d by Ondřej Kuzník at 2024-09-26T17:56:59+00:00 ITS#10248 Always generate a result on the original op
• dd621781 by Michael Nolta at 2024-09-26T17:56:59+00:00 ITS#10248 Regression test script
https://bugs.openldap.org/show_bug.cgi?id=10248
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|IN_PROGRESS |RESOLVED
--- Comment #6 from Quanah Gibson-Mount quanah@openldap.org --- RE26:
• a6f6c2f8 by Ondřej Kuzník at 2024-10-04T22:03:39+00:00 ITS#10248 Always generate a result on the original op
• 12eeb27d by Michael Nolta at 2024-10-04T22:03:44+00:00 ITS#10248 Regression test script
RE25:
• 8f37b154 by Ondřej Kuzník at 2024-10-04T22:04:53+00:00 ITS#10248 Always generate a result on the original op
• ab3f7f06 by Michael Nolta at 2024-10-04T22:04:56+00:00 ITS#10248 Regression test script
https://bugs.openldap.org/show_bug.cgi?id=10248
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |VERIFIED