* [PATCH] nfs4.1: add basic SECINFO_NO_NAME support
@ 2014-01-14 16:27 Weston Andros Adamson
2014-01-22 18:29 ` J. Bruce Fields
0 siblings, 1 reply; 2+ messages in thread
From: Weston Andros Adamson @ 2014-01-14 16:27 UTC (permalink / raw)
To: bfields; +Cc: linux-nfs, Weston Andros Adamson
only returns AUTH_SYS for now
Signed-off-by: Weston Andros Adamson <dros@primarydata.com>
---
nfs4.1/nfs4server.py | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/nfs4.1/nfs4server.py b/nfs4.1/nfs4server.py
index b279292..65fb9af 100755
--- a/nfs4.1/nfs4server.py
+++ b/nfs4.1/nfs4server.py
@@ -1161,6 +1161,13 @@ class NFS4Server(rpc.Server):
env.set_cfh(self.root)
return encode_status(NFS4_OK)
+ def op_secinfo_no_name(self, arg, env):
+ check_session(env)
+ # xxx add gss support
+ secinfo4_list = [ secinfo4(rpc.AUTH_SYS) ]
+ res = SECINFO_NO_NAME4res(NFS4_OK, secinfo4_list)
+ return encode_status(NFS4_OK, res)
+
# op_putpubfh SHOULD be the same as op_putrootfh
# See draft23, section 18.20.3, line 25005
op_putpubfh = op_putrootfh
--
1.8.3.4 (Apple Git-47)
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH] nfs4.1: add basic SECINFO_NO_NAME support
2014-01-14 16:27 [PATCH] nfs4.1: add basic SECINFO_NO_NAME support Weston Andros Adamson
@ 2014-01-22 18:29 ` J. Bruce Fields
0 siblings, 0 replies; 2+ messages in thread
From: J. Bruce Fields @ 2014-01-22 18:29 UTC (permalink / raw)
To: Weston Andros Adamson; +Cc: linux-nfs
On Tue, Jan 14, 2014 at 11:27:30AM -0500, Weston Andros Adamson wrote:
> only returns AUTH_SYS for now
Thanks, applied.
--b.
>
> Signed-off-by: Weston Andros Adamson <dros@primarydata.com>
> ---
> nfs4.1/nfs4server.py | 7 +++++++
> 1 file changed, 7 insertions(+)
>
> diff --git a/nfs4.1/nfs4server.py b/nfs4.1/nfs4server.py
> index b279292..65fb9af 100755
> --- a/nfs4.1/nfs4server.py
> +++ b/nfs4.1/nfs4server.py
> @@ -1161,6 +1161,13 @@ class NFS4Server(rpc.Server):
> env.set_cfh(self.root)
> return encode_status(NFS4_OK)
>
> + def op_secinfo_no_name(self, arg, env):
> + check_session(env)
> + # xxx add gss support
> + secinfo4_list = [ secinfo4(rpc.AUTH_SYS) ]
> + res = SECINFO_NO_NAME4res(NFS4_OK, secinfo4_list)
> + return encode_status(NFS4_OK, res)
> +
> # op_putpubfh SHOULD be the same as op_putrootfh
> # See draft23, section 18.20.3, line 25005
> op_putpubfh = op_putrootfh
> --
> 1.8.3.4 (Apple Git-47)
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-01-22 18:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-14 16:27 [PATCH] nfs4.1: add basic SECINFO_NO_NAME support Weston Andros Adamson
2014-01-22 18:29 ` J. Bruce Fields
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox