To Force ClientForNFS to use specific UID and GID windows 2008

por | 10 enero, 2013
To Force ClientForNFS to use specific UID and GID

http://technet.microsoft.com/en-us/library/cc753302%28v=ws.10%29.aspx

To force ClientForNFS to mount a share using a specific UID and GID,
and without the need for a user name mapping server, add the following
registry keys:
 
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ClientForNFS\CurrentVersion\Default


Add two DWORD values: AnonymousUid and AnonymousGid and set to your appropriate values in decimal.

Then restart the ClientForNFS service. (You may need to reboot the server.)

This for certain applies to Windows Server 2008 R2 and Windows Server 2008 SP2. The two drawbacks to not using a user name mapping server are that 1. there will be a ton of warning messages attributed to NfsClnt saying that you aren’t using a user name mapping server and 2. the ids apply to all shares mounted which means you can’t use two different ones, which I imagine may not work for everyone.