From nobody Tue Apr 11 19:18:25 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 4Pwwc16kZgz44P4g; Tue, 11 Apr 2023 19:18:25 +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 4Pwwc15VF8z4G8S; Tue, 11 Apr 2023 19:18:25 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1681240705; 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=3LF6r7BGjNBntkSgEV+JjTnsLvDJysP5rOJKccOU9sQ=; b=IAnLhceWO2asPx236mq8udvAmd/6dE9De25janbLupgvhQprpqLGFAKx7dGyNo9aO4ymF2 iI/QqHB0K7io0HyAFJUFhdKjjmNJS4E1SS6waLLrZ4RAjg5DnM4RFL/WTwVT4uuz67oxTv DQZm7JDtea61k1XMf8BGoEo3IViU10FGG6IJvn2uC+QVwCTbTHbBRlN4BapEebPCmx7iCz Cf/L1BOrfAUoqo0V4q6jpxdettZuPLwZKSDzf++axHb9TaehPFqyl4N4/W1irIWCAu0Lrc ZLQG+l1w9WcV6O1HQsOVf43cxXui2NaP9CEE2ymO7p7rS+A50xKjEn7bq+0EQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1681240705; 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=3LF6r7BGjNBntkSgEV+JjTnsLvDJysP5rOJKccOU9sQ=; b=NyQK75gWSc6V0iroOZdNC7+d/Qlg2dzxjbH9ihXi8U94a7FDEmOGJ/sWpn+htc7YvB/E3W 0lKlCYeTCuUe/uFTxNuOIeVQf7OE3BjucqOz1wiyTIDG8HtvXyQM4B5RmR8//gG+UnNixC WgHc3RKU7U493vUQ03fSKKOYc47Zi3M2bwQAL5a8df4ahpodK+3/kbotbL8yLbEh19kld1 DKxEV19Pnj3+HOe7rFAwi1kASxsJc3QU2uekPBqy5/EBr2blB0KxmFCObU09/mZFDhT20+ zcuLFmvyXdDrZLU0DRLIOpw6+uENrRRJPZwf7Fe285MGBr7IJUQ5RAgfQ51H5Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1681240705; a=rsa-sha256; cv=none; b=DXzmPn5h5R0p0ZtlYNZcTWIlSqeXyRgwHo5JsK8GNldzxK2vWk0vfnbvbvFWR4/b2uslhV rpzOWF7CO+MdVotAPVPD90LHkGRYM6FQGofrtAbeqg3I14sXhJqXCm5gbIZdgbt4L5ARG7 jKCEi+ByDMijzXqTDi5L3YWnKJskVqomlnvpxlwbc99GbOj1RjfcPLw1aoHvCXqeaLPucC W6d4JbQf/Ty8FzFj74TpG7szn7StjaZ3Iu9+3/74+nabtCeqQXQ61zG5f0bHL6VzIObq3X I7K50JRKJQpD31D+Y/GP5yzgxyID/Zxyq97zZsAJ/obWAF4PWKUZEIHEb9HlJQ== 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 4Pwwc14QjdzV64; Tue, 11 Apr 2023 19:18:25 +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 33BJIP9a092650; Tue, 11 Apr 2023 19:18:25 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 33BJIP47092649; Tue, 11 Apr 2023 19:18:25 GMT (envelope-from git) Date: Tue, 11 Apr 2023 19:18:25 GMT Message-Id: <202304111918.33BJIP47092649@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Rick Macklem Subject: git: 61330e494f63 - main - 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/main X-Git-Reftype: branch X-Git-Commit: 61330e494f63ab60a515e3273668a03a7e8b4fee Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by rmacklem: URL: https://cgit.FreeBSD.org/src/commit/?id=61330e494f63ab60a515e3273668a03a7e8b4fee commit 61330e494f63ab60a515e3273668a03a7e8b4fee Author: Rick Macklem AuthorDate: 2023-04-11 19:17:09 +0000 Commit: Rick Macklem CommitDate: 2023-04-11 19:17:09 +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). Reviewed by: gbe (manpages), karels MFC after: 3 months Differential Revision: https://reviews.freebsd.org/D39469 --- 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 0e6ea0538063..5052b1a2d6dd 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