https://bugs.openldap.org/show_bug.cgi?id=9288
--- Comment #4 from Ondřej Kuzník ondra@mistotebe.net --- On Tue, Feb 09, 2021 at 07:38:23AM +0000, openldap-its@openldap.org wrote:
I might have bumped into a variant of this problem. In my case, I have a reproducible test for this, and it reproduces crash even after #9400 is applied.
Hi Tero, thanks for investigating this, would you be able to provide the test script here or propose it as an addition to tests/data/regressions?
The assert can be triggered by sending InvalidCredentials response from the remote server after back-ldap retries the connection and binds again.
This bug might possibly related to another bug that I'm observing: back-ldap retries bind as anonymous even if `rebind-as-user` is set to yes. I did not find existing issue for this in bugs.openldap.org yet.
I haven't been able to find a bug referencing this directly, but seem to remember there was a suggestion there were issues reconnecting, maybe a part of a larger issue that manifested as ITS#9205 and ITS#8427?
Thanks,