projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a744ba
)
NFS: Try AUTH_UNIX when PUTROOTFH gets NFS4ERR_WRONGSEC
author
Chuck Lever
<
[email protected]
>
Sat, 16 Mar 2013 19:56:11 +0000
(15:56 -0400)
committer
Trond Myklebust
<
[email protected]
>
Fri, 29 Mar 2013 19:45:09 +0000
(15:45 -0400)
Most NFSv4 servers implement AUTH_UNIX, and administrators will
prefer this over AUTH_NULL. It is harmless for our client to try
this flavor in addition to the flavors mandated by RFC 3530/5661.
Signed-off-by: Chuck Lever <
[email protected]
>
Signed-off-by: Trond Myklebust <
[email protected]
>
fs/nfs/nfs4proc.c
patch
|
blob
|
history
diff --git
a/fs/nfs/nfs4proc.c
b/fs/nfs/nfs4proc.c
index dd3a43792df08e430ecf113a0ba2d0a075a053d9..a8e6d802383b2fb134505ec4c514f6287e04ab75 100644
(file)
--- a/
fs/nfs/nfs4proc.c
+++ b/
fs/nfs/nfs4proc.c
@@
-2531,6
+2531,7
@@
static int nfs4_find_root_sec(struct nfs_server *server, struct nfs_fh *fhandle,
RPC_AUTH_GSS_KRB5P,
RPC_AUTH_GSS_KRB5I,
RPC_AUTH_GSS_KRB5,
+ RPC_AUTH_UNIX, /* courtesy */
RPC_AUTH_NULL,
};
int status = -EPERM;