From owner-freebsd-questions@freebsd.org Thu May 28 16:09:26 2020 Return-Path: Delivered-To: freebsd-questions@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 103002F6BEF for ; Thu, 28 May 2020 16:09:26 +0000 (UTC) (envelope-from freebsd@gregv.net) Received: from aurora.gregv.net (aurora.gregv.net [IPv6:2607:5600:bd::1:1000]) by mx1.freebsd.org (Postfix) with ESMTP id 49Xt1c6QDCz4t56 for ; Thu, 28 May 2020 16:09:24 +0000 (UTC) (envelope-from freebsd@gregv.net) Received: by aurora.gregv.net (Postfix, from userid 1001) id E50A8FC; Thu, 28 May 2020 12:09:17 -0400 (EDT) Date: Thu, 28 May 2020 12:09:17 -0400 From: Greg Veldman To: Norman Gray Cc: FreeBSD Questions Subject: Re: Documentation and debugging for NFSv4 Message-ID: <20200528160917.GU1068@aurora.gregv.net> References: <20200526172613.GN1068@aurora.gregv.net> <6FE7F8A1-F296-4B85-A7C8-E360F8D559B6@glasgow.ac.uk> <20200526182550.GP1068@aurora.gregv.net> <0E8D01CC-8BB3-456A-92C0-019F4B9AF447@glasgow.ac.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0E8D01CC-8BB3-456A-92C0-019F4B9AF447@glasgow.ac.uk> User-Agent: Mutt/1.12.1 (2019-06-15) X-Rspamd-Queue-Id: 49Xt1c6QDCz4t56 X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd@gregv.net has no SPF policy when checking 2607:5600:bd::1:1000) smtp.mailfrom=freebsd@gregv.net X-Spamd-Result: default: False [1.26 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.33)[-0.330]; FROM_HAS_DN(0.00)[]; NEURAL_SPAM_SHORT(0.08)[0.075]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[gregv.net]; AUTH_NA(1.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_SPAM_LONG(0.61)[0.613]; R_SPF_NA(0.00)[no SPF record]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:31863, ipnet:2607:5600::/32, country:US] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 May 2020 16:09:26 -0000 On Thu, May 28, 2020 at 04:58:06PM +0100, Norman Gray wrote: > Also: It's the wrong list to ask this on, but would you happen to have > any pointers on getting this NFS-domain configuration working on CentOS > or similar machines? I can find nothing intermediate between the RFC > and the nfsidmap tool & idmap.conf manpages. Doing the obvious > configuration doesn't work, and even the debugging syslog messages give > few clues about what, precisely, is wrong. On most distros (including CentOS I think) the daemon name is rpc.idmapd and its config file is /etc/idmapd.conf. In theory you should only have to set the "Domain" keyword in the "General" section of that file. In practice, it's often not that easy. I've typically found that if you run it as: # rpc.idmapd -f -vvv you're likely to at least get enough debug into to point you in the right direction. ;-) Good luck. -- Greg Veldman