All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] SUNRPC handle EKEYEXPIRED in call_refreshresult
@ 2012-06-27 20:05 andros
  2012-06-27 20:05 ` [PATCH 1/1] " andros
  2012-06-28 15:43 ` [PATCH 0/1] " Jeff Layton
  0 siblings, 2 replies; 10+ messages in thread
From: andros @ 2012-06-27 20:05 UTC (permalink / raw)
  To: trond.myklebust; +Cc: linux-nfs, Andy Adamson

From: Andy Adamson <andros@netapp.com>

Without this patch attempting to access a Kerberos mount with expired or no
credentials resulted in the NFS client hanging while retrying to refresh creds
for ever.

I tested NFSv3/v4/v4.1 sec=krb5 mounts. With expired or non-existent user
Kerberos credentials, trying to ls the mountpoint, or cd into the mountpoint
resulted in three failed upcalls to gssd (due to tk_cred_retry being set to 2)
then the 'Operation not permitted' message is returned to the user.

I think this patch should go into the stable kernel.

Andy Adamson (1):
  SUNRPC handle EKEYEXPIRED in call_refreshresult

 fs/nfs/nfs4proc.c |    2 --
 net/sunrpc/clnt.c |    4 ++++
 2 files changed, 4 insertions(+), 2 deletions(-)

-- 
1.7.7.6


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2012-07-16 20:09 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-27 20:05 [PATCH 0/1] SUNRPC handle EKEYEXPIRED in call_refreshresult andros
2012-06-27 20:05 ` [PATCH 1/1] " andros
2012-07-16 18:44   ` Myklebust, Trond
2012-07-16 20:09     ` Adamson, Andy
2012-06-28 15:43 ` [PATCH 0/1] " Jeff Layton
2012-06-28 16:31   ` Adamson, Andy
2012-06-28 18:03     ` Jeff Layton
2012-06-28 23:33       ` Andy Adamson
2012-06-29 20:43         ` Steve Dickson
2012-06-30 11:00           ` Jeff Layton

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.