Domain User Authentication To Linux Server Fails: Access Denied

Domain User Authentication To Linux Server Fails: Access Denied

161
Created On 11/10/26 11:01 AM - Last Modified 11/10/26 16:05 PM


Symptom


In an environment where SSSD is running on a Linux target for AD Authentication management, the following may be experienced when using PSM/PSM for SSH to authenticate as a domain account to the Linux target.

Access Denied


Environment


10.10;11.1;11;11.2;11.3;11.4;11.5;11.6;11.7;12.0;12.1 PSM: User tries to authenticate to a Linux target via standard Privilege Session Management. Session will launch and username will be passed, but access will be denied. 

PSM for SSH: Authentication using <vault user>@<domain user#domain name>@<target>@<psm for ssh host> will fail, stating that account does not exist or could not be pulled from the Vault. 


Cause


The root cause of this is based on how the account is on-boarded into Idira and how sssd is configured. 

If sssd is configured to require the Fully Qualified Name of the domain account authenticating to it, then <username@domain name> must be passed in order for authentication to work. If the domain account is only identified by its friendly name in CyberArk, authentication to the Linux server will fail, as the standard logon method for Linux via Idira is to pass the username stored in Idira as if it were a local Linux account.


Resolution


Resolution(s)
  • Resolution 1: Change modify sssd.conf file
    • Modify the /etc/sssd/sssd.conf file to allow friendly name authentication
      • Open /etc/sssd/sssd.conf in a text editor such as vi or nano
        • vi /etc/sssd/sssd.conf
      • In the sssd.conf file, change the Use_Fully_Qualified_Name from true to false
      • Save the file and restart the sssd service
        • systemctl restart sssd
  • Resolution 2: On-board Domain Accounts with full Distinguished Name (user@doamin.com)
    • This will allow users to authenticate while keeping the sssd file configured for FQDN authentication
  • Resolution 3: Add an additional file category to provide an alternate user name for logon
    • Please reference the following KB article in regards to creating a new file category: https://community.cyberark.com/s/article/00002121 


Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000001KhVCAU&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail