From owner-freebsd-net@freebsd.org Fri Aug 16 12:55:39 2019 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 455F3CB8C7 for ; Fri, 16 Aug 2019 12:55:39 +0000 (UTC) (envelope-from hausen@punkt.de) Received: from kagate.punkt.de (kagate.punkt.de [217.29.33.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4693G1752sz4DZh for ; Fri, 16 Aug 2019 12:55:37 +0000 (UTC) (envelope-from hausen@punkt.de) Received: from hugo10.ka.punkt.de (hugo10.ka.punkt.de [217.29.44.10]) by gate2.intern.punkt.de with ESMTP id x7GCgQil036520; Fri, 16 Aug 2019 14:42:26 +0200 (CEST) Received: from [217.29.44.222] ([217.29.44.222]) by hugo10.ka.punkt.de (8.14.2/8.14.2) with ESMTP id x7GCgQ6R044422; Fri, 16 Aug 2019 14:42:26 +0200 (CEST) (envelope-from hausen@punkt.de) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Re: NFSv4 without Kerberos From: "Patrick M. Hausen" In-Reply-To: Date: Fri, 16 Aug 2019 14:42:26 +0200 Cc: freebsd-net@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <522283ee-dc4b-6439-fb05-7254511a214b@zato.ru> <20190816104222.GN47119@zxy.spb.ru> <20190816120157.GO47119@zxy.spb.ru> <19b8ad6d-ad07-e50e-75d1-ae554c87c384@zato.ru> <20190816121547.GP47119@zxy.spb.ru> To: Alexander Lunev X-Mailer: Apple Mail (2.3445.104.11) X-Rspamd-Queue-Id: 4693G1752sz4DZh X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of hausen@punkt.de designates 217.29.33.131 as permitted sender) smtp.mailfrom=hausen@punkt.de X-Spamd-Result: default: False [-3.11 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:217.29.32.0/20]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[punkt.de]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-0.92)[-0.917,0]; RCPT_COUNT_TWO(0.00)[2]; IP_SCORE(-0.40)[ip: (-0.22), ipnet: 217.29.32.0/20(-0.98), asn: 16188(-0.79), country: DE(-0.01)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:16188, ipnet:217.29.32.0/20, country:DE]; MID_RHS_MATCH_FROM(0.00)[] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Aug 2019 12:55:39 -0000 i all, > Am 16.08.2019 um 14:37 schrieb Alexander Lunev via freebsd-net = : >=20 >> /NFS -maproot=3Droot -sec=3Dkrb5i >> V4: /NFS -sec=3Dkrb5i >> and this work ok for nfsv4 mount (mount -t nfsv4 host:/) >> May be order is important? >=20 > I've already tried in any order, it doesn't change anything. >=20 > In another place (11.2-R) i've already done NFSv4 mount where ubuntu = mounts share from freebsd via nfsv4 with sec=3Dsys without any problem, = but here (11.3) i can't make it work - maybe the reason is that client = is diskless and root mounted by NFSv3 from the same server? Are the directories you are trying to export part of the same filesystem as the client-root that is already mounted? i don=E2=80=99t know for v4, but in traditional NFS exports are per FS = and not per directory. You need to export the toplevel FS with the -alldirs flag set to mount multiple directories of the same FS. HTH, Patrick --=20 punkt.de GmbH Internet - Dienstleistungen - Beratung Kaiserallee 13a Tel.: 0721 9109-0 Fax: -100 76133 Karlsruhe info@punkt.de http://punkt.de AG Mannheim 108285 Gf: Juergen Egeling