freebsd-skq/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
nfs_commonkrpc.c
nfs_commonport.c
nfs_commonsubs.c
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
nfscl.h
nfsclstate.h
nfsdport.h
nfskpiport.h
nfsm_subs.h
nfsport.h
nfsproto.h
nfsrvcache.h
nfsrvstate.h
nfsv4_errstr.h
rpcv2.h
xdr_subs.h