Gentoo Wiki


this is for client not server



So you have a Gentoo box on a network with other *nix systems. The prefered method of networking with these systems is with NFS. Then there's that lone Windows box wanting it's piece of the action. You could always install Samba on one of *nix systems and route it through to the rest of them. OR you could use Windows Services for Unix (SFU). Sounds simple enough, right? Wrong, Microsoft makes sure that accessing an NFS share from your Windows workstation is anything but simple. So here's what you do....


This guide is to aid with connecting a Windows workstation to an already established NFS network. If you haven't established an NFS network read this page first. Setup for your NFS network won't require any extra configurations to work with SFU. There are many different ways to configure SFU, my method is merely the most basic.


Microsoft provides a link for the download at:


Note: Windows XP Home Users: If you use Windows XP Home you'll have to do a little hex editing to make everything work right for you. Make a backup of SfuSetup.msi then open it in your favorite hex editor. Search for the string "NOT (VersionNT = 501 AND MsiNTSuitePersonal)" and change 501 to 510.

Run SfuSetup. When prompted for the domain let it use it's default name. Select the option to use passwd and group files when prompted. Also select user name mapping when prompted. Let the rest of the install continue with it's default options.


Run the Services For UNIX Administration utility from the Windows Services for UNIX group in the Start menu.

Name Network Computer

Under the Services For UNIX[local] section click on the Settings tab. Change the computer name from localhost to whatever you want the Linux system to see it as.

Copy over passwd and group files

Copy your passwd and group files (from /etc/passwd and /etc/group) to your root Windows drive (C:\). Under the User Name Mapping section browse and select your passwd and group files (be sure Use Password and Group files is selected first).

Start User Name Mapping and map users

Note: Often times Windows has User Name Mapping disabled by default. Check the Windows services (Control Panel > Administrative Tools > Services) and be sure User Name Mapping is set to Automatic. Otherwise it won't start.

Right click the User Name Mapping section and select Start. Click the Maps tab under the User Name Mapping section. Click Apply to auto generate a map. Click Show User Maps then click List Windows Users and List Unix Users. Select the Windows user from the Windows users list then select the Unix user from the UNIX users list and click Add. This will map your Windows account to your Linux account. Now click Show Group Maps. Map the appropriate Windows group to the appropriate Unix group. For example if your user is an Aministrator on the Windows system and is of the users group on the Linux system then map Administrators to users. Click Apply

Map Network Drive

Note: NFS Version 2: If you are using NFS version 2 then you will have to disable version 3 support in SFU otherwise it will not mount. To do this open regedit and navigate to "HKEY_LOCAL_MACHINE\Software\Microsoft\Client for NFS\CurrentVersion\Default". Add a new item of the "REG_DWORD" data type named "DisableV3" with the value 1.

Go to My Network Places and select "Map Network Drive" from the Tools menu. Select a drive letter and click browse. There should now be NFS Network listed in addition to Microsoft Windows Network. Browse to the system with the share (it will be listed under "Default LAN"). Select the share and click OK. You should now have a mapped NFS share on your Windows workstation.

Retrieved from ""

Last modified: Mon, 22 Sep 2008 03:33:00 +0000 Hits: 13,639