linux/fs/nfsd
J. Bruce Fields 04716e6621 nfsd: permit unauthenticated stat of export root
RFC 2623 section 2.3.2 permits the server to bypass gss authentication
checks for certain operations that a client may perform when mounting.
In the case of a client that doesn't have some form of credentials
available to it on boot, this allows it to perform the mount unattended.
(Presumably real file access won't be needed until a user with
credentials logs in.)

Being slightly more lenient allows lots of old clients to access
krb5-only exports, with the only loss being a small amount of
information leaked about the root directory of the export.

This affects only v2 and v3; v4 still requires authentication for all
access.

Thanks to Peter Staubach testing against a Solaris client, which
suggesting addition of v3 getattr, to the list, and to Trond for noting
that doing so exposes no additional information.

Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Cc: Peter Staubach <staubach@redhat.com>
Cc: Trond Myklebust <trond.myklebust@fys.uio.no>
2008-09-29 17:56:56 -04:00
..
auth.c
auth.h
export.c fs/nfsd/export.c: Adjust error handling code involving auth_domain_put 2008-07-30 13:20:20 -04:00
lockd.c lockd: dont return EAGAIN for a permanent error 2008-07-25 10:53:47 -07:00
Makefile
nfs2acl.c
nfs3acl.c
nfs3proc.c nfsd: permit unauthenticated stat of export root 2008-09-29 17:56:56 -04:00
nfs3xdr.c
nfs4acl.c nfsd: fix buffer overrun decoding NFSv4 acl 2008-09-01 14:24:24 -04:00
nfs4callback.c
nfs4idmap.c
nfs4proc.c nfsd: fix compound state allocation error handling 2008-09-01 14:17:48 -04:00
nfs4recover.c
nfs4state.c
nfs4xdr.c
nfscache.c
nfsctl.c [PATCH] get rid of indirect users of namei.h 2008-07-26 20:53:42 -04:00
nfsfh.c nfsd: permit unauthenticated stat of export root 2008-09-29 17:56:56 -04:00
nfsproc.c nfsd: permit unauthenticated stat of export root 2008-09-29 17:56:56 -04:00
nfssvc.c SUNRPC: Add address family field to svc_serv data structure 2008-09-29 17:56:56 -04:00
nfsxdr.c
stats.c
vfs.c nfsd: permit unauthenticated stat of export root 2008-09-29 17:56:56 -04:00