Comment 6 for bug 662711

Revision history for this message
Perry Nguyen (pfnguyen) wrote : Re: NFS user/group mapping not working in 10.10

Not a bug it seems, but needs documentation or something somewhere.

10.10 enables NFSv4 and I was able to fix it by enabling nfs idmap on both server and client.

On my solaris server, I edited /etc/default/nfs and set NFSMAPID_DOMAIN to my server's name (domain name, whatever), then did svcadm restart nfs/mapid

On ubuntu, I edited /etc/idmapd.conf and changed Domain to be the same value as what I set for NFSMAPID_DOMAIN, edit /etc/default/nfs-common and set NEED_STATD=no and NEED_IDMAPD=yes, then service rpc_pipefs restart and service idmapd restart, remount your nfs shares (in my case, service autofs restart); and all the uid/gid mapping should now be correct.