nfsd4: backchannel should use client-provided security flavor

For now this only adds support for AUTH_NULL.  (Previously we assumed
AUTH_UNIX.)  We'll also need AUTH_GSS, which is trickier.

Signed-off-by: J. Bruce Fields <bfields@redhat.com>
This commit is contained in:
J. Bruce Fields
2012-11-05 16:01:48 -05:00
parent 57725155dc
commit 12fc3e92d4
3 changed files with 13 additions and 5 deletions

View File

@@ -151,6 +151,7 @@ struct nfsd4_channel_attrs {
};
struct nfsd4_cb_sec {
u32 flavor; /* (u32)(-1) used to mean "no valid flavor" */
u32 uid;
u32 gid;
};