I'm setting up logins, backed by sssd & AD, on Bullseye machines. Judging the error logging, it looks like I ran into sssd issue 5720. Which is about a requirement mismatch between libldap and sssd. Sssd requires cldap support, while libldap doesn't support it.
An extract from /var/log/sssd/sssd_.log
[sss_ldap_init_sys_connect_done] (0x0020): ldap_init_fd failed: Bad parameter to an ldap routine. [26][cldap://*****:389]
[sdap_sys_connect_done] (0x0020): sdap_async_connect_call request failed: [5]: Input/output error.
I thought the simple solution would be to install the backport release libldap-2.5.0. Unfortunately it installs besides the stock Bullseye release libldap-2.4.2. Instead of replacing it. I can't remove libldap-2.4.2, because that would remove a whole lot of depending packages.
Our machines are tracking Debian Stable. I'd rather not have them track Testing just for this one item.
How should I proceed to upgrade libldap ?