]> git.karo-electronics.de Git - linux-beck.git/commit
NFSv4: Fix the fallback to AUTH_NULL if krb5i is not available
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 4 Apr 2013 20:14:11 +0000 (16:14 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 4 Apr 2013 21:01:25 +0000 (17:01 -0400)
commit23631227a672de5e81e167c3178b39e9a50f6541
tree22333063da1ab734a056c8d951ac69b20cc859c5
parent4580a92d44e2b21c2254fa5fef0f1bfb43c82318
NFSv4: Fix the fallback to AUTH_NULL if krb5i is not available

If the rpcsec_gss_krb5 module cannot be loaded, the attempt to create
an rpc_client in nfs4_init_client will currently fail with an EINVAL.
Fix is to retry with AUTH_NULL.

Regression introduced by the commit "NFS: Use "krb5i" to establish NFSv4
state whenever possible"

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Cc: Chuck Lever <chuck.lever@oracle.com>
Cc: Bryan Schumaker <bjschuma@netapp.com>
fs/nfs/nfs4client.c