Tips for finding Knowledge Articles

  • - Enter just a few key words related to your question or problem
  • - Add Key words to refine your search as necessary
  • - Do not use punctuation
  • - Search is not case sensitive
  • - Avoid non-descriptive filler words like "how", "the", "what", etc.
  • - If you do not find what you are looking for the first time,reduce the number of key words you enter and try searching again.
  • - Minimum supported Internet Explorer version is IE9
Home  >
article

KB-42212: Kerberos authentication fails with access denied on Solaris 11.4

Authentication Service ,  

27 October,20 at 06:12 PM

Problem: Applications on Solaris 11.4 utilizing Kerberos authentication fails with access denied even when /usr/share/centrifydc/kerberos/bin/klist displays a proper Ticket Granting Ticket (TGT).

Example of accessing a Kerberized NFS share with a valid TGT:
User-added image

Cause: According to Oracle Support, "As from Solaris 11.3 to Solaris 11.4, ccache location changed from FILE:/tmp/krb5cc_%{uid} to /tmp/volatile-user/%{uid}/krb5cc_%{uid}". Due to this change Centrify's generated TGT will not be picked up.

Workaround: Create a symlink from/tmp/krb5cc_%{uid} to /tmp/volatile-user/%{uid}/krb5cc_%{uid} via the login profiles. See an example below.
export UID=$(getent passwd $USER | nawk -F ":" '{print $3}')
if [ -d "/tmp/volatile-user/$UID" ] && [ ! -f "/tmp/volatile-user/$UID/krb5cc_$UID" ]; then ln -s /tmp/krb5cc_$UID /tmp/volatile-user/$UID/krb5cc_$UID; fi


Example of accessing the Kerberized NFS share after creating a symlink:
User-added image

Still have questions? Click here to log a technical support case, or collaborate with your peers in Centrify's Online Community.