freebsd-dev/sys/fs/nfs
Edward Tomasz Napierala 6a3450e178 Add vfs.nfsd.nfsd_enable_uidtostring, which works just like
vfs.nfsd.nfsd_enable_stringtouid, but in reverse - when set to 1,
it forces the NFSv4 server to return numeric UIDs and GIDs instead
of "user@domain" strings. This helps with clients that can't
translate returned identifiers, eg when rerooting.

The same can be achieved by just never running nfsuserd(8),
but the sysctl is useful to toggle the behaviour back and forth
without rebooting.

Reviewed by:	rmacklem (earlier version)
MFC after:	2 weeks
Sponsored by:	DARPA, AFRL
Differential Revision:	https://reviews.freebsd.org/D11326
2017-06-26 13:11:21 +00:00
..
nfs_commonacl.c
nfs_commonkrpc.c Add the definition of maxbcachebuf to sys/buf.h. 2017-06-19 22:07:53 +00:00
nfs_commonport.c Fix the NFS client/server so that it actually uses the 64bit ino_t filenos. 2017-06-18 21:48:31 +00:00
nfs_commonsubs.c Add vfs.nfsd.nfsd_enable_uidtostring, which works just like 2017-06-26 13:11:21 +00:00
nfs_var.h Add support to the NFSv4.1/pNFS client for commits through the DS. 2017-06-26 00:43:04 +00:00
nfs.h Fix the NFS client/server so that it actually uses the 64bit ino_t filenos. 2017-06-18 21:48:31 +00:00
nfscl.h
nfsclstate.h Fix NFSv4.1 client recovery from NFS4ERR_BAD_SESSION errors. 2016-12-23 23:14:53 +00:00
nfsdport.h
nfskpiport.h
nfsm_subs.h Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
nfsport.h Add two new compound RPCs to the NFSv4.1/pNFS client. 2017-06-24 20:01:21 +00:00
nfsproto.h Add two new compound RPCs to the NFSv4.1/pNFS client. 2017-06-24 20:01:21 +00:00
nfsrvcache.h Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
nfsrvstate.h
nfsv4_errstr.h
rpcv2.h Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
xdr_subs.h Renumber copyright clause 4 2017-02-28 23:42:47 +00:00