Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.networking > #2753

Re: Trying to wrap my brain around user authentication for NFSv4

From Joe Beanfish <joebeanfish@nospam.duh>
Newsgroups comp.os.linux.networking
Subject Re: Trying to wrap my brain around user authentication for NFSv4
Date 2014-02-23 20:28 +0000
Organization A noiseless patient Spider
Message-ID <ledllv$h7o$1@dont-email.me> (permalink)
References <OfVNu.5$gB6.0@fx06.iad>

Show all headers | View raw


On Sat, 22 Feb 2014 03:58:38 +0000, Andrew Gideon wrote:

> I've an extremely heterogeneous environment, with many [virtual] hosts
> that have completely independent sets of users.  That is, john@hostA and
> john@hostB are unrelated.
> 
> With NFSv3, this is a non-issue.  The NFS servers export different
> volumes to hostA and hostB, and the NFS clients use their UIDs as they
> would on local storage.  Because there is no overlap between the volumes
> exported to the different NFS clients, this is not a problem.
> 
> I'm not clear how to get this effect on NFSv4.  It seems to presume a
> shared set of users over all NFS clients (even if the names and UIDs of
> a given user might differ from client to client).  So where john@hostA
> might be the same user as johnsmith@hostB, NFSv4 maps these together
> well.
> 
> Yet I cannot see how to get the effect I need, where the sets of users
> are independent.

I don't know how to do what you want with nfsv4. But if you want nfsv3
behavior try mounting as nfsv3 using the nfsvers=3 option in mount or
fstab.

Back to comp.os.linux.networking | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Trying to wrap my brain around user authentication for NFSv4 Andrew Gideon <c182driver9@gideon.org> - 2014-02-22 03:58 +0000
  Re: Trying to wrap my brain around user authentication for NFSv4 William Unruh <unruh@invalid.ca> - 2014-02-22 17:53 +0000
    Re: Trying to wrap my brain around user authentication for NFSv4 Andrew Gideon <c182driver9@gideon.org> - 2014-02-26 14:10 +0000
  Re: Trying to wrap my brain around user authentication for NFSv4 Joe Beanfish <joebeanfish@nospam.duh> - 2014-02-23 20:28 +0000

csiph-web