I've encountered this error in a FreeIPA - AD Trust environment along with this error:
"pam_sss(sshd_auth): received for user: 6 (Permission denied)" where users could log in using ssh with GSSAPIAuthentication and PubkeyAuthentication but logins with passwords were rejected.
I've found that removing the dynamic-db files, clearing the cache, and restarting sssd worked for me:
[root@server ~]# systemctl stop sssd.service
[root@server ~]# rm -rf /var/lib/sss/db/*
[root@server ~]# sss_cache -E
[root@server ~]# systemctl start sssd.service
I'm not really sure what exactly is causing this error but I think it might have to do with password-changes and therefore invalid caches but this is just a wild guess to the best of my knowledge.
Feel free to comment and / or suggest a topic.
Comments
Post a Comment