Date: Sat, 6 Jan 2024 14:34:41 -0700 From: Alan Somers <asomers@freebsd.org> To: Daniel Ebdrup Jensen <debdrup@freebsd.org> Cc: src-committers@freebsd.org, dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org Subject: Re: git: fbbdfa2b8a42 - main - nfsv4(4): mention the nfsv4_server_only setting Message-ID: <CAOtMX2i0iZEty9cV4AnUW%2B0jHK7xfOFgW%2Bej-Zxq3AWw9HMnHw@mail.gmail.com> In-Reply-To: <202401061822.406IMW52063237@gitrepo.freebsd.org> References: <202401061822.406IMW52063237@gitrepo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jan 6, 2024 at 11:22=E2=80=AFAM Daniel Ebdrup Jensen <debdrup@freebsd.org> wrote: > > The branch main has been updated by debdrup: > > URL: https://cgit.FreeBSD.org/src/commit/?id=3Dfbbdfa2b8a42444c2c4de00e43= f14499adad8a70 > > commit fbbdfa2b8a42444c2c4de00e43f14499adad8a70 > Author: Lexi Winter <lexi@le-fay.org> > AuthorDate: 2024-01-06 18:12:02 +0000 > Commit: Daniel Ebdrup Jensen <debdrup@FreeBSD.org> > CommitDate: 2024-01-06 18:21:25 +0000 > > nfsv4(4): mention the nfsv4_server_only setting > > Add note about configuring the NFSv4-only option. > > It is already mentioned in rc.conf(5), but documenting it here makes = it > more likely that people see it when they need it. > > MFC after: 2 weeks > Pull Request: https://github.com/freebsd/freebsd-src/pull/1008 > --- > usr.sbin/nfsd/nfsv4.4 | 8 ++++++++ > 1 file changed, 8 insertions(+) > > diff --git a/usr.sbin/nfsd/nfsv4.4 b/usr.sbin/nfsd/nfsv4.4 > index 1377461c1348..aacb85c78ca2 100644 > --- a/usr.sbin/nfsd/nfsv4.4 > +++ b/usr.sbin/nfsd/nfsv4.4 > @@ -208,6 +208,14 @@ if the server is using the ``<user>@<domain>'' form = of user/group strings or > is using the ``-manage-gids'' option for > .Xr nfsuserd 8 . > .Pp > +In addition, you can set: > +.sp > +.Bd -literal -offset indent -compact > +nfsv4_server_only=3D"YES" > +.Ed > +.sp > +to disable support for NFSv2 and NFSv3. > +.Pp > You will also need to add at least one ``V4:'' line to the > .Xr exports 5 > file for Shouldn't you bump the .Dd date?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOtMX2i0iZEty9cV4AnUW%2B0jHK7xfOFgW%2Bej-Zxq3AWw9HMnHw>