Created Anonymous NFS Share on Windows 2012 and mounted on RHEL 6.2 client. Owner for the files are showing "nobody" when mounted in with NFSv4.1, correct owner and groups are being shown as per the UID and GID provided on NFS Permission, when mounted with NFSv3.
I guess this because, with NFSv4, identity tracking has been redesigned and now uses a identity mapping daemon (idmapd). But not sure, how to fix this issue. Any setting needs to be done on Windows 2012 Storage Server side.
[root@rhel62 ~]# mount -t nfs -o minorversion=1 10.1.7.12:/ano_data /data
[root@rhel62 ~]# touch /data/test
[root@rhel62 ~]# touch /data/test1
[root@rhel62 ~]# ls -l /data
total 0
-rw-r--r-- 1 nobody nobody 0 Nov 1 01:40 test
-rw-rw-r-- 1 nobody nobody 0 Nov 1 01:44 test1
[root@rhel62 ~]#
[root@rhel62 ~]# umount /data
[root@rhel62 ~]# mount -t nfs -o vers=3 10.1.7.12:/ano_data /data
[root@rhel62 ~]# ls -l /data
total 0
-rw-r--r-- 1 cnas cnas 0 Nov 1 01:40 test
-rw-rw-r-- 1 cnas cnas 0 Nov 1 01:44 test1
[root@rhel62 ~]#
[root@rhel62 ~]# uname -a
Linux rhel62.ind.hp.com 2.6.32-220.el6.x86_64 #1 SMP Wed Nov 9 08:03:13 EST 2011 x86_64 x86_64 x86_64 GNU/Linux
[root@rhel62 ~]# cat /etc/*release
Red Hat Enterprise Linux Server release 6.2 (Santiago)
[root@rhel62 ~]#