1. Login to the server as root
.
2. Take backup of the file /lib/systemd/system/sssd.service
.
# cp /lib/systemd/system/sssd.service /root/sssd.service_backup
3. Edit file /lib/systemd/system/sssd.service and add the following entry.
# vi /lib/systemd/system/sssd.service [Service] . . ExecStartPost=/usr/bin/rm -f /var/lib/sss/pubconf/pam_preauth_available
4. Run the below command to reload the units and restart SSSD service.
# systemctl daemon-reload # systemctl stop sssd # rm -f /var/lib/sss/db/* # systemctl start sssd
5. Check if the file is present.
# ls -l /var/lib/sss/pubconf/pam_preauth_available