This is an old revision of the document!
Mapping UID and GID of local user to the mounted NFS share
First of all, enable is on the client and server:
echo N > /sys/module/nfsd/parameters/nfs4_disable_idmappingclean idmap cache and restart idmap daemon:
nfsidmap -c
service rpcidmapd restart
My need restart NFS server and/or client…
/etc/init.d/nfs-kernel-server restart
Now on server and the client will send instead of numeric IDs string principals like bob@YOURDOMAIN.COM. You need to have bob account on the both hosts - client and server.
Nevertheless, the numeric ID’s can be different.