Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 May 2020 19:07:37 +0100
From:      "Norman Gray" <>
To:        Greg Veldman <>
Cc:        FreeBSD Questions <>
Subject:   Re: Documentation and debugging for NFSv4
Message-ID:  <>
In-Reply-To: <>
References:  <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help

Greg, hello.

On 26 May 2020, at 18:26, Greg Veldman wrote:

> Based on this and your subsequent response to Doug/Remy, I
> think the next thing I'd check would be the idmap settings.
> It sounds like you may have a domain mismatch.  All the idmap
> daemons on both client and server must be running and must agree
> on the domain name (doesn't really matter what it is, they just
> have to agree).

I staggered to this conclusion today, but haven't had the chance to 
think through the consequences.

> On FreeBSD this is specified with the -domain
> arg to nfsuserd (which looks like it can also be put in rc.conf).
> On Linux it's set with the Domain keyword in /etc/idmapd.conf.
> Various implementations of the software attempt to calculate a
> default domain if none is given, using different methods to do
> so.  It's much safer to pick something yourself and explicitly
> set it everywhere.

I'm currently trying to work out if there's a way of doing that that 
doesn't involve making config edits to a lot of machines.  I think the 
answer is 'no', and that this is going to be painful whichever decision 
I make about the domain name.

Solaris appears 
to support a rather nice client-side search for a magic DNS TXT record.  
Cute, but as far as I can see that's a Solaris-only thing.

Oh well.  Thanks, Greg and all.

Best wishes,


Norman Gray  :
Research IT Coordinator  :  School of Physics and Astronomy
// My current template week for IT tasks is: Monday, Tuesday, and Friday

Want to link to this message? Use this URL: <>