Linux VDA - SSSD failed to authenticate ([krb5_child] [create_ccache] [13][Permission denied])

book

Article ID: CTX695176

calendar_today

Updated On:

Description

  • For some new deployed Linux VDA, user cannot login them, it will stay on the input password page.
  • The issue cannot be recovered even if we input the correct password. 
  • Error can be found in /var/log/sssd/krb5_child.log:[krb5_child] [create_ccache] [13][Permission denied].

Cause

  • The SSSD authentication failure with the error [krb5_child] [create_ccache] [13][Permission denied] indicates an issue with SSSD's ability to create a Kerberos credential cache (ccache) file. 
  • Most commonly due to incorrect permissions of on the /tmp directory or the krb5.conf file.
  • In this case, user doesn't have read permission of krb5.conf, so sssd cannot generate the ccache file for this user, the login will never success.

Resolution

Run the following command to change the permission of krb5.conf

chmod 644 krb5.conf

Issue/Introduction

Fail to sso to the new deployed Linux VDA, it stays on the input password page.