How do I completely re-install PAM security?

Hi. can you try this?

sudo aa-complain /usr/bin/smbd
and next command
sudo aa-complain samba-dcerpcd samba-bgqd samba-rpcd samba-rpcd-classic samba-rpcd-spoolss

sudo systemctl restart smb.service

then give it a try!