opnsense-src/sys/fs/nfsserver
Rick Macklem f6e1add0c9 nfsd: Fix handling of credentials with cr_ngroups == 0
There has been a documented case in the exports(5) man
page forever, which specifies that the -maproot or -mapall
may have a single user entry, followed by a ':'.
This case is defined as specifying no groups (aka cr_ngroups == 0).

This patch fixes the NFS server so that it handles this case correctly.

After MFC'ng this patch to stable/13 and stable/14, I propose that
this unusual case be deprecated and no longer allowed in FreeBSD15.
At that point, this patch can be reverted.

(cherry picked from commit caa309c8811d62a24cd07e3a1f6e9095eaf10c90)
2024-10-23 18:06:26 -07:00
..
nfs_fha_new.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
nfs_fha_new.h sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
nfs_nfsdcache.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
nfs_nfsdkrpc.c nfsserver: Rate-limit messages about requests from unprivileged ports 2024-04-25 09:20:16 -04:00
nfs_nfsdport.c nfsd: Fix handling of NFSv4 setable attributes 2024-09-09 18:30:23 -07:00
nfs_nfsdserv.c nfsd: Fix handling of NFSv4 setable attributes 2024-09-09 18:30:23 -07:00
nfs_nfsdsocket.c nfsd: Fix nfsrv_cleanclient so that it can be called with a mutex 2024-07-21 16:06:02 -07:00
nfs_nfsdstate.c nfsd: Fix close handling when vfs.nfsd.enable_locallocks=1 2024-10-11 17:43:27 -07:00
nfs_nfsdsubs.c nfsd: Fix handling of credentials with cr_ngroups == 0 2024-10-23 18:06:26 -07:00