Re: nfs4, idmapd, users with same name, different uid?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Wed, 28 Aug 2013 10:27:18 +0200
Barbara Krasovec <barbarak@xxxxxxxx> wrote:

> On 8/28/13 9:37 AM, Barbara Krasovec wrote:
> > On 8/27/13 12:01 AM, Les Mikesell wrote:
> >> Is idmapd supposed to work where users have different uid numbers on
> >> the nfsv4 server and client?     It seems to show the right names for
> >> ownership on the client side, but if I automount a home directory,
> >> that user doesn't have permission to enter it, and if I change
> >> permission to allow access and create a new file, it shows on the
> >> server as owned by the uid number for the user on the client (and
> >> wrong on the server).
> >>
> >> Everything works like it would on nfs v3  where the uid numbers are
> >> the same on the client and server, but what's the point of the
> >> rpcidmapd daemon if it doesn't actually map the ids?
> >>
> > As far as I know, nfs4 doesn't care about UID/GID, but checks names, so
> > it should work, no matter that you have different UIDs on server and
> > client for same users.
> >
> > Cheers,
> > Barbara
> > _______________________________________________
> > CentOS mailing list
> > CentOS@xxxxxxxxxx
> > http://lists.centos.org/mailman/listinfo/centos
> Sorry, if you use nfs4 and idmapd uid/gid has to be the same on server 
> and client. I have tested and it does not work when UID differs on 
> server/client.
> 
> Cheers,
> Barbara
> 
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> http://lists.centos.org/mailman/listinfo/centos

http://dfusion.com.au/wiki/tiki-index.php?page=Why+NFSv4+UID+mapping+breaks+with+AUTH_UNIX
BR, Bob
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux