* "NFS: v4 server 127.0.0.1 does not accept raw uid/gids. Reenabling the idmapper."
@ 2013-11-11 18:40 Christoph Hellwig
2013-11-11 19:11 ` Myklebust, Trond
0 siblings, 1 reply; 3+ messages in thread
From: Christoph Hellwig @ 2013-11-11 18:40 UTC (permalink / raw)
To: linux-nfs
I regularly get the above message when running xfstest generic/013
against a local server. The comment in the code mentions working
around a Linux server bug, but it's not quite clear what that bug
is, and why it's still around after almost three years since it was
found.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: "NFS: v4 server 127.0.0.1 does not accept raw uid/gids. Reenabling the idmapper."
2013-11-11 18:40 "NFS: v4 server 127.0.0.1 does not accept raw uid/gids. Reenabling the idmapper." Christoph Hellwig
@ 2013-11-11 19:11 ` Myklebust, Trond
2013-11-11 21:01 ` Christoph Hellwig
0 siblings, 1 reply; 3+ messages in thread
From: Myklebust, Trond @ 2013-11-11 19:11 UTC (permalink / raw)
To: Christoph Hellwig; +Cc: Linux NFS Mailing List
On Nov 11, 2013, at 13:40, Christoph Hellwig <hch@infradead.org> wrote:
> I regularly get the above message when running xfstest generic/013
> against a local server. The comment in the code mentions working
> around a Linux server bug, but it's not quite clear what that bug
> is, and why it's still around after almost three years since it was
> found.
Hi Christoph,
The above message should be harmless.
A lot of servers interpreted section 5.8 of RFC3530 to mean that clients should always send user/group information in the user@domain / group@domain format, and that it should never use numeric uids and gids. However when using AUTH_SYS authentication, using numeric uids/gids make a lot of sense, and doing so ensures that upgrades from NFSv3 to NFSv4 are a lot easier. It also means that you don’t need to run the idmapper.
For that reason, when you try to use NFSv4 with AUTH_SYS these days, the Linux client will try to use numeric uids/gids, and then fall back to using user@domain/group@domain if the server doesn’t support it. The above printk is there in order to help admins to recognize that their server requires the idmapper service.
Note that you can change the default behaviour using the nfs4_disable_idmapping kernel parameter (see Documentation/kernel-parameters.txt).
Cheers
Trond
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-11-11 21:01 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-11 18:40 "NFS: v4 server 127.0.0.1 does not accept raw uid/gids. Reenabling the idmapper." Christoph Hellwig
2013-11-11 19:11 ` Myklebust, Trond
2013-11-11 21:01 ` Christoph Hellwig
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).