Authentication via SSSD fails with an error "Request to sssd failed. Public socket has wrong ownership or permissions" in /var/log/secure

Solution Verified - Updated -

Issue

  • Following error is logged in /var/log/secure on running sudo 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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content