From nobody Fri May 26 01:12:41 2023 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QS6NT2wZsz4TFJw; Fri, 26 May 2023 01:12:41 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QS6NT2RYRz3KJy; Fri, 26 May 2023 01:12:41 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685063561; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=2fk8qTuj9s6zCpwx+k56Wd/0lYOIxv1hKLqvD1o5v78=; b=v5/axvKBXlaAPbG1DUN12ZYO2O4xQ8iP+Lk/eMOIyfPFBmjTKglRmX2rGdrtTO7rdEWpM4 udCGOiH5y1xLxsvF9WSrJ8k2A5LggTlalJ/2SkxRFJdfHe8YN1JdlRddftXHj2+yi11olR 36Dph3Aqq+GbRGPfi0DNKyWQFn9R3MtyDZjrKVcVtKz5aKCMhTLoEPVf7RAoc23o9reB2v Q4PxX8ewZe4tNHBqi/in2LQ1NxeZ2Gwr2WKcbzKEzMQpwKQx/jUJwVpdswMmWfRbaHFW03 TSxJw8+ZLObYCIJZR31rTiH474DFpRJmAwVtjC7psQryKNpt5rlInSge8tTuKQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685063561; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=2fk8qTuj9s6zCpwx+k56Wd/0lYOIxv1hKLqvD1o5v78=; b=qqVYDEJxbGSA1WXCUNERz6ONFbXwPWOGfeoZLixQHmeJrLBrjrno7+4o/MqJZKTdR/e6/E da9ROOuQlFRQslAImF39DbR8kPAaGviAcLwuKzVSbJjqHlELT1J8+ga5CshREMXj+Dgktr FDEm91CDnXeM2p2+5ghhwOZLqRWhPFDN/Twxiy9ifImuynpAj/eDPxNrRSjc0srraQnmAu J8dqXc11WQhoWBvx8RUqWMPqnMoEX81puUesren6W/9Zd73abwlU1n0FewAdNYZzU1zHnR UADE7Do3/LNfhNmcetbRE/nOnuRltD0hW/5hv/0k2Bt8+6SQYsEK6sUvJUs1sg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1685063561; a=rsa-sha256; cv=none; b=RaYEPhqBcytt8raDogOibY3No2yAVu/2IJtIj+fRv1tweHl2tfIy6b++TmGM7MO6Btqxyu nEvS7ay3yrpCc4buebSm+EVjX/ovSFZ25x8OV2k3NSTHjWJdC9fD30L8aInGbgr4N9e7hA OhTPQkk/Tc2fQiJJouh0LKfTOtQPh2ZsrZpPtTfVH9fqqIsg6SfA2mHeGz5QfIsXMOMovY ZtOQWjZsWsknXtZfC/uNShkUzxsPEFhG1UWy6Y0sZRnoUSNdwYrwIjKfDi6r9tTOV+sxGA SKRsuTugM+PpDJ0sNMQTNZLYuUGIs6n36j2H9SldRi0OUy2Q1oec+hYkf//fMQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4QS6NT1V9sznHL; Fri, 26 May 2023 01:12:41 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 34Q1CfRS036132; Fri, 26 May 2023 01:12:41 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 34Q1CfSs036131; Fri, 26 May 2023 01:12:41 GMT (envelope-from git) Date: Fri, 26 May 2023 01:12:41 GMT Message-Id: <202305260112.34Q1CfSs036131@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Rick Macklem Subject: git: a3bd034d3d07 - stable/13 - mount_nfs.8: Update man page for the "syskrb5" option List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: rmacklem X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: a3bd034d3d0780f0c1c321974e4ca3a05293d711 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by rmacklem: URL: https://cgit.FreeBSD.org/src/commit/?id=a3bd034d3d0780f0c1c321974e4ca3a05293d711 commit a3bd034d3d0780f0c1c321974e4ca3a05293d711 Author: Rick Macklem AuthorDate: 2023-04-11 19:17:09 +0000 Commit: Rick Macklem CommitDate: 2023-05-26 01:10:45 +0000 mount_nfs.8: Update man page for the "syskrb5" option Commit 896516e54a8c added a new NFS mount option used for Kerberized NFSv4.1/4.2 mounts. It specifies that AUTH_SYS be used for state maintenance (also called system) operations. This allows the mount to be done without the "gssname" option or a valid Kerberos TGT being held by the user doing the mount (so it can be specified in fstab(5) for example). This is a content change. (cherry picked from commit 61330e494f63ab60a515e3273668a03a7e8b4fee) --- sbin/mount_nfs/mount_nfs.8 | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/sbin/mount_nfs/mount_nfs.8 b/sbin/mount_nfs/mount_nfs.8 index c3da26c41c66..4f4b8891f67a 100644 --- a/sbin/mount_nfs/mount_nfs.8 +++ b/sbin/mount_nfs/mount_nfs.8 @@ -28,7 +28,7 @@ .\" @(#)mount_nfs.8 8.3 (Berkeley) 3/29/95 .\" $FreeBSD$ .\" -.Dd September 24, 2022 +.Dd April 3, 2023 .Dt MOUNT_NFS 8 .Os .Sh NAME @@ -166,7 +166,7 @@ It allows the mount to be performed by and avoids problems with cached credentials for the system operations expiring. The -.Dq "service-prinicpal-name" +.Dq "service-principal-name" should be specified without instance or domain and is typically .Dq "host" , .Dq "nfs" @@ -441,6 +441,21 @@ A soft mount, which implies that file system calls will fail after .Ar retrycnt round trip timeout intervals. +.It Cm syskrb5 +This option specifies that a KerberosV NFSv4 minor version 1 or 2 mount +uses AUTH_SYS for system operations. +Using this option avoids the need for a KerberosV mount to have a +host-based principal entry in the default keytab file +(no +.Cm gssname +option) or a requirement for the user doing the mount to have a +valid KerberosV ticket granting ticket (TGT) when the mount is done. +This option is intended to be used with the +.Cm sec Ns = Ns krb5 +and +.Cm tls +options and can only be used for +NFSv4 mounts with minor version 1 or 2. .It Cm tcp Use TCP transport. This is the default option, as it provides for increased reliability on both