[37719] in Kerberos

home help back first fref pref prev next nref lref last post

Key has expired - NFS + krb5 + autofs + sssd

daemon@ATHENA.MIT.EDU (Thomas Beaudry)
Fri Sep 30 10:51:07 2016

From: Thomas Beaudry <thomas.beaudry@concordia.ca>
To: "kerberos@mit.edu" <kerberos@mit.edu>
Date: Fri, 30 Sep 2016 14:50:27 +0000
Message-ID: <1475247028127.59844@concordia.ca>
Content-Language: en-US
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: kerberos-bounces@mit.edu

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



________________________________________________
Kerberos mailing list           Kerberos@mit.edu
https://mailman.mit.edu/mailman/listinfo/kerberos

home help back first fref pref prev next nref lref last post