On Wed May 14 16:06:18 2025 +0000, Hans Leidekker wrote:
[ldap2.diff](/uploads/c48c87be4a65ff610c7c949598a8cb94/ldap2.diff) Does this patch help by any chance?
No, it doesn't. Moreover adding ISC_REQ_USE_DCE_STYLE breaks Kerberos authentication with working sasl_encode/sasl/decode.
As explained in the patches sasl_encode() needs to properly construct output buffer placing trailer at the end of the buffer, and sasl_decode() should treat input buffer as data+trailer like https://github.com/cyrusimap/cyrus-sasl/blob/master/plugins/gssapi.c does.