Key has expired - NFS + krb5 + autofs + sssd

Thomas Beaudry thomas.beaudry at concordia.ca
Fri Sep 30 10:50:27 EDT 2016


Hi,


I mount a NFS share (windows file server) with autofs and sssd on my ubuntu 16.04 server that I connect to via ssh.  Where I run into a problem is when i leave my ssh session on over night and come back in the morning I get a "key has expired" error when I try and access it.  The only thing that fixes it is if, i close my ssh session and create a new one.   I have tried using krenew (or the built in sssd ticket renewel) but it doesn't fix the problem.  I even wrote a simple script that creates a new ticket every hour i.e. :


kinit ${user} -kt /usr/krb5/keytabs/.${user}.keytab


and it does in fact generate a new ticket every hour.   This morning I did a klist, I saw that I had a new valid ticket but still couldn't access the NFS share this morning.


Any ideas or suggestions in debuging this would be a great help since I have spent days trying to find a solution.


Thanks!

Thomas





More information about the Kerberos mailing list