summaryrefslogtreecommitdiffstats
path: root/include/linux/sunrpc/msg_prot.h
diff options
context:
space:
mode:
authorChuck Lever2009-08-09 21:09:32 +0200
committerTrond Myklebust2009-08-09 21:09:32 +0200
commitec88f28d1eb77346f19ca324ceec76e645cdd9da (patch)
tree673457f29da29179be1dc368e5c5fcc75c0cecf3 /include/linux/sunrpc/msg_prot.h
parentNFS: Fix auth flavor len accounting (diff)
downloadkernel-qcow2-linux-ec88f28d1eb77346f19ca324ceec76e645cdd9da.tar.gz
kernel-qcow2-linux-ec88f28d1eb77346f19ca324ceec76e645cdd9da.tar.xz
kernel-qcow2-linux-ec88f28d1eb77346f19ca324ceec76e645cdd9da.zip
NFS: Use the authentication flavor list returned by mountd
Commit a14017db added support in the kernel's NFS mount client to decode the authentication flavor list returned by mountd. The NFS client can now use this list to determine whether the authentication flavor requested by the user is actually supported by the server. Note we don't actually negotiate the security flavor if none was specified by the user. Instead, we try to use AUTH_SYS, and fail if the server does not support it. This prevents us from negotiating an inappropriate security flavor (some servers list AUTH_NULL first). If the server does not support AUTH_SYS, the user must provide an appropriate security flavor by specifying the "sec=" mount option. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include/linux/sunrpc/msg_prot.h')
0 files changed, 0 insertions, 0 deletions