diff options
author | rmacklem <rmacklem@FreeBSD.org> | 2014-05-03 00:13:45 +0000 |
---|---|---|
committer | rmacklem <rmacklem@FreeBSD.org> | 2014-05-03 00:13:45 +0000 |
commit | 2c816214c0b338da708c8e9dbb63c7fb5760f5f5 (patch) | |
tree | fe4cee81ec9dd61845b31c371b87566200019cdf /lib/libproc/proc_rtld.c | |
parent | 971b2fb32804994548f963b464c10cdf3d8bc64d (diff) | |
download | FreeBSD-src-2c816214c0b338da708c8e9dbb63c7fb5760f5f5.zip FreeBSD-src-2c816214c0b338da708c8e9dbb63c7fb5760f5f5.tar.gz |
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
Diffstat (limited to 'lib/libproc/proc_rtld.c')
0 files changed, 0 insertions, 0 deletions