]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add two sysctl(8) to enable/disable NFSv4 server to check when setting
authorMarcelo Araujo <araujo@FreeBSD.org>
Thu, 16 Oct 2014 02:24:19 +0000 (02:24 +0000)
committerMarcelo Araujo <araujo@FreeBSD.org>
Thu, 16 Oct 2014 02:24:19 +0000 (02:24 +0000)
commit3dd6b7ff3d14a70612eb4fea64e2b4c63652af05
treebef6ab39965aef07bbf8b1749331202fc026117f
parentca6505b818d27268fd3d60c39d84364d19f9581c
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
MFC after: 2 weeks
sys/fs/nfsserver/nfs_nfsdsubs.c