I could to reply to the original thread:
https://www.mail-archive.com/dovecot@dovecot.org/msg85204.html
But I managed to get a stack trace of the error:
root@mail:~ # lldb /usr/local/libexec/dovecot/auth
(lldb) target create "/usr/local/libexec/dovecot/auth"
Current executable set to '/usr/local/
I've enabled both sql and oauth2 passdb,
regardless of the method used by the client, I get the following error:
Jan 1 15:38:56 mail dovecot[52828]: auth: Panic: file http-client.c: line
646 (http_client_context_close): assertion failed: (cctx->clients_list ==
NULL)
Jan 1 15:38:56 mail dovecot[5
On a Debian10 I've installed postfix 3.4.14 and dovecot 2.3.4.1.
I've configured multiple passdb sources and I expect that if one fails
the other ones are tested.
This is usually the case, except when the failure is due to an invalid
certificate from the ldap server.
In that case all authentication