title: Windows NFS user mapping issue when working with NetApp clustered ONTAP
body: <p>I have an issue with user mapping while using NFS export from NetApp and trying to mount it on a windows using the NFS client feature.</p>
  
  <p>I have a qtree exported from the NetApp using NFS and I installed the NFS client on Windows (via server manager - roles - file server). I am able to mount, read and write as anonymous user - the problem is in the user mapping.</p>
  
  <p>I tried to add to the registry at HKLM\Software\Microsoft\ClientForNFS\CurrentVersion\Default the two DWOD values AnonymousUid and AnonymousGid and gave them the desired UID and GID in decimal form and restarted the service.</p>
  
  <p>While this trick worked fine on an NFS export which I exported on my RHEL 6.3 and also on a 7 mode NetApp but it seems the thing doesn't work the same here.</p>
  
  <p>Somehow when I used shownount -e on the RHEL or 7 mode it showed the exports and when I tried on the clustered ONTAP vserver it only shows the / (and even though the mount command completes successfully when writing the path)</p>
  
  <p>Any suggestions?</p>
  
  <p>Details:
  Client is windows server 2008 R2 x64 bit program (services for NFS)
  Server is NetApp clustered ONTAP 8.2.3p4</p>
  
  <p>Edit:
  I also tried user-mapping at server side using both vserver name-mapping win-unix  to  index 1.
  And added a rule to the export-policy:
  10.0.0.1 (I changed the IP for security reasons)
  User is to which anonymous users are mapped to: 1000</p>
  
  <p>Any thoughts?</p>