]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r273159:
authoraraujo <araujo@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 31 Oct 2014 04:01:10 +0000 (04:01 +0000)
committeraraujo <araujo@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 31 Oct 2014 04:01:10 +0000 (04:01 +0000)
commitd971e29988296d7a4fbc6a89135c08f7ae495462
tree93acd47b6fd0aea217ab7d55a7da952bb2e95bd0
parentc8d2337bf168bb681d0a644fb2250548840a4189
MFC r273159:
Add two sysctl(8) to enable/disable NFSv4 server to check when setting
user nobody and/or setting group nogroup as owner of a file or directory.
Usually at the client side, if there is an username that is not in the
client's passwd database, some clients will send 'nobody@<your.dns.domain>'
in the wire and the NFSv4 server will treat it as an ERROR.
However, if you have a valid user nobody in your passwd database,
the NFSv4 server will treat it as a NFSERR_BADOWNER as its believes the
client doesn't has the username mapped.

Submitted by: Loic Blot <loic.blot@unix-experience.fr>
Reviewed by: rmacklem
Approved by: rmacklem
Sponsored by: QNAP Systems Inc.

git-svn-id: svn://svn.freebsd.org/base/stable/10@273877 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/fs/nfsserver/nfs_nfsdsubs.c