https://bugs.openldap.org/show_bug.cgi?id=9400
--- Comment #2 from tero.saarni@est.tech --- Thank you for the quick fix!
It fixed the problem I was seeing, but I see unfortunately test029-ldapglue started failing. Looking at Wireshark capture, it seems like there might now be an extra bind <ROOT> towards the *second* slapd-back:
bindRequest(1) "uid=bjorn,ou=People,dc=example,dc=com" simple bindResponse(1) success bindRequest(1) "<ROOT>" simple bindResponse(1) success searchRequest(2) "ou=People,dc=example,dc=com" wholeSubtree searchResDone(2) success [0 results]
Comparing to before the fix, following package capture produced:
bindRequest(1) "uid=bjorn,ou=People,dc=example,dc=com" simple bindResponse(1) success searchRequest(2) "ou=People,dc=example,dc=com" wholeSubtree searchResEntry(2) "ou=People,dc=example,dc=com" searchResEntry(2) "uid=bjorn,ou=People,dc=example,dc=com" searchResEntry(2) "uid=bjensen,ou=People,dc=example,dc=com" searchResEntry(2) "uid=proxy,ou=People,dc=example,dc=com"
In case you would like to use the test case I created, I will write the copyright notice here according to the contributor guidelines:
Ericsson Software Technology AB 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.
I created another version, which is moved to the regression test suite directory https://git.openldap.org/tsaarni/openldap/-/commit/7b908d1eb93e8fc09248ae323...