Authentication via SSSD fails with an error "Request to sssd failed. Public socket has wrong ownership or permissions" in /var/log/secure
Issue
- Following error is logged in
/var/log/secure
on runningsudo
as AD user:
Oct 5 13:53:06 rhel7 sudo: pam_sss(sudo:auth): Request to sssd failed. Public socket has wrong ownership or permissions.
Oct 5 13:53:12 rhel7 sudo: aduser : 2 incorrect password attempts ; TTY=pts/4 ; PWD=/home/aduser ; USER=root ; COMMAND=/bin/su -
- Not able to switch to root user with sudo command for the AD user after joining the system to domain using realm.
[aduser@rhel7 ~]$ sudo su -
[sudo] password for aduser:
Sorry, try again.
[sudo] password for aduser:
sudo: timed out reading password
sudo: 1 incorrect password attempt
Environment
- Red Hat Enterprise Linux 7
- SSSD
- Active Directory
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.