freebsd-nq/sys/fs/nfs
Rick Macklem ca20bd924f The new draft specification for NFSv4.0 specifies that a server
should either accept owner and owner_group strings that are just
the digits of the uid/gid or return NFS4ERR_BADOWNER.
This patch adds a sysctl vfs.nfsd.enable_stringtouid, which can
be set to enable the server w.r.t. accepting numeric string. It
also ensures that NFS4ERR_BADOWNER is returned if numeric uid/gid
strings are not enabled. This fixes the server for recent Linux
nfs4 clients that use numeric uid/gid strings by default.

Reported and tested by:	craigyk@gmail.com
MFC after:	2 weeks
2014-05-03 00:13:45 +00:00
..
nfs_commonacl.c Modify the NFSv4 client so that it can handle owner 2012-09-20 02:49:25 +00:00
nfs_commonkrpc.c - For kernel compiled only with KDTRACE_HOOKS and not any lock debugging 2013-11-25 07:38:45 +00:00
nfs_commonport.c Revamp the old NFS server's File Handle Affinity (FHA) code so that 2013-04-17 21:00:22 +00:00
nfs_commonsubs.c The new draft specification for NFSv4.0 specifies that a server 2014-05-03 00:13:45 +00:00
nfs_var.h Fix lock leak in purely hypothetical case of TCP connection without SVC_ACK 2014-01-14 20:18:38 +00:00
nfs.h Remove most of the remaining sysctl name list macros. They were only 2013-08-26 18:16:05 +00:00
nfscl.h Move the NFSv4.1 client patches over from projects/nfsv4.1-client 2012-12-08 22:52:39 +00:00
nfsclstate.h Move the NFSv4.1 client patches over from projects/nfsv4.1-client 2012-12-08 22:52:39 +00:00
nfsdport.h Merge Capsicum overhaul: 2013-03-02 00:53:12 +00:00
nfskpiport.h Fix typos in macros. 2010-05-08 14:50:12 +00:00
nfsm_subs.h Revamp the old NFS server's File Handle Affinity (FHA) code so that 2013-04-17 21:00:22 +00:00
nfsport.h The r48589 promised to remove implicit inclusion of if_var.h soon. Prepare 2013-10-26 17:58:36 +00:00
nfsproto.h Move the NFSv4.1 client patches over from projects/nfsv4.1-client 2012-12-08 22:52:39 +00:00
nfsrvcache.h Rework NFS Duplicate Request Cache cleanup logic. 2014-01-03 15:09:59 +00:00
nfsrvstate.h
nfsv4_errstr.h
rpcv2.h
xdr_subs.h