nfsd4: allow client to send no cb_sec flavors
authorJ. Bruce Fields <bfields@redhat.com>
Fri, 17 May 2013 20:25:32 +0000 (16:25 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Mon, 1 Jul 2013 21:23:07 +0000 (17:23 -0400)
commit57569a707082a337e4a61a657521d79cac3528bf
treeb885b287f3b2754cfb8d213ecab74a27ca5305fc
parentb78724b70599f66a91c6d6c897a81f4f87f549f4
nfsd4: allow client to send no cb_sec flavors

In testing I notice that some of the pynfs tests forget to send any
cb_sec flavors, and that we haven't necessarily errored out in that case
before.

I'll fix pynfs, but am also inclined to default to trying AUTH_NONE in
that case in case this is something clients actually do.

Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4xdr.c