Comment 30 for bug 1779890

Revision history for this message
Sergio Costas (rastersoft-gmail) wrote : Re: Nautilus does not use a valid Kerberos ticket when accessing Samba share

I found a workaround for this: to define the KRB5CCNAME environment variable at /etc/environment.d/91kerberos.conf

In my case, I store the cache file at ~/kerberos, so I set the content of that file to:

    KRB5CCNAME=${HOME}/kerberos/krb5cc_${LOGNAME}

So, if my username is "username", this results in the environment variable set to

    /home/username/kerberos/krb5cc_username

After doing this, the tickets are preserved between reboots.

Can anybody test this to ensure that it fixes the problem, please?