I see the same issue:Feb 23 16:22:06 hostname smbd[522826]: PAM unable to dlopen(pam_cap.so): /lib/security/pam_cap.so: cannot open shared object file: No such file or directory
Feb 23 16:22:06 hostname smbd[522826]: PAM adding faulty module: pam_cap.so
This started after the upgrade of packages libcap2/libpam-cap/libcap2-bin:amd64 from 1:2.27-1 to 1:2.32-1.