HomeFreeBSD

Add two sysctl(8) to enable/disable NFSv4 server to check when setting

Description

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

Details

Provenance
araujoAuthored on Oct 16 2014, 2:24 AM
Parents
rGca6505b818d2: Prevent ZFS leaking pool free space
Branches
Unknown
Tags
Unknown

Event Timeline