https://bugs.openldap.org/show_bug.cgi?id=9928
Issue ID: 9928 Summary: ldap_search_ext_s always hangs on 2.6.3 Product: OpenLDAP Version: 2.6.3 Hardware: All OS: Mac OS Status: UNCONFIRMED Keywords: needs_review Severity: normal Priority: --- Component: libraries Assignee: bugs@openldap.org Reporter: filipe.custodio@gmail.com Target Milestone: ---
Created attachment 920 --> https://bugs.openldap.org/attachment.cgi?id=920&action=edit Minimal AD query that consistently hangs on ldap_search_ext_s call
Dear Experts,
When using ldap_search_ext_s() from libldap v2.6.3 to do a simple search on our production Windows Domain Controller, the client consistently hangs forever. Using ldap_search_ext() & ldap_result() also hangs after delivering the first information item. It seems the client is left waiting, not realising no more results are coming from the server. Using the development image from Oct. 9 2022, the ldap_search_ext_s() call works, although it gives an "Operations Error".
Shall I deploy the new libldap from the development branch in our production environment to solve this problem or is there another way around the issue?
Best regards,
Filipe Custódio
https://bugs.openldap.org/show_bug.cgi?id=9928
--- Comment #1 from Ondřej Kuzník ondra@mistotebe.net --- Hi Filipe, to get any further, we would either need a plain text packet trace or libldap debug output (use LDAP_OPT_DEBUG_LEVEL with ldap_set_option) to see what libldap is seeing.
Thanks, Ondrej
https://bugs.openldap.org/show_bug.cgi?id=9928
--- Comment #2 from filipe.custodio@gmail.com --- Created attachment 922 --> https://bugs.openldap.org/attachment.cgi?id=922&action=edit LDAP DEBUG output for the production (2.6.3) version.
https://bugs.openldap.org/show_bug.cgi?id=9928
--- Comment #3 from filipe.custodio@gmail.com --- Created attachment 923 --> https://bugs.openldap.org/attachment.cgi?id=923&action=edit LDAP DEBUG output of the current development library.
https://bugs.openldap.org/show_bug.cgi?id=9928
--- Comment #4 from filipe.custodio@gmail.com --- Good evening,
I just attached the DEBUG output of the test source code running, unchanged, using the production or the current development version.
Hope this helps to identify the issue, let me know how I can help more.
Cheers,
Filipe
https://bugs.openldap.org/show_bug.cgi?id=9928
--- Comment #5 from Ondřej Kuzník ondra@mistotebe.net --- On Tue, Oct 11, 2022 at 08:23:15PM +0000, openldap-its@openldap.org wrote:
I just attached the DEBUG output of the test source code running, unchanged, using the production or the current development version.
Hope this helps to identify the issue, let me know how I can help more.
Hi Filipe, I would note that the debug logs indicate you are running a locally patched version of the 2.6.3 library, could you revert all patches and try again?
Thanks,
https://bugs.openldap.org/show_bug.cgi?id=9928
filipe.custodio@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID
--- Comment #6 from filipe.custodio@gmail.com --- Dear Ondrej,
I reinstalled 2.6.3 from the official source and the problem went away.
Thank you so much for the assistance!
Best regards,
Filipe Custódio
https://bugs.openldap.org/show_bug.cgi?id=9928
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords|needs_review | Status|RESOLVED |VERIFIED