Understanding and Using Windows Server 2008 R2 UNIX Integration Components (part 2)

2/6/2011 9:40:15 AM

Configuring Active Directory Lookup for UNIX GID and UID Information

So that NTFS permissions can be properly mapped to UNIX user accounts, integration with Active Directory Domain Services (AD DS) must be set up between AD DS and UNIX. This requires the proper schema extensions to be enabled in the domain. By default, Windows Server 2008 R2 AD DS includes these schema extensions. If installing Services for NFS into a down-level schema version of AD, such as with Windows Server 2003, the schema must be extended first to Windows Server 2008 R2 levels.

To enable AD DS lookup for Services for NFS, do the following:

Open the Services for Network File System MMC (Start, All Programs, Administrative Tools, Services for Network File System).

Right-click on the Services for NFS node in the node pane, and choose Properties.

In the Identity Mapping Source section, check the Active Directory domain name check box, and enter the name of the domain in which identity mapping will be enabled, as shown in Figure 2.

Figure 2. Enabling AD DS mapping for Services for NFS.

Click OK to save the changes.


Windows Server 2008 R2 Services for NFS still supports the legacy User Name Mapping service, although installation of the User Name Mapping service itself cannot be done on a Windows Server 2008 R2 server. It is preferable to use the AD DS integration, however, rather than the User Name Mapping service.

Configuring Client for NFS and Server for NFS Settings

After enabling the lookup method used for Services for NFS, you can configure the individual Server for NFS and Client for NFS settings by right-clicking the individual nodes and choosing Properties. This allows you to change default file permissions levels, TCP and UDP settings, mount types, new Windows Server 2008 R2 Kerberos settings, and filename support levels. For example, in Figure 3, the screen for customizing Client for NFS settings is displayed.

Figure 3. Customizing Client for NFS settings.

Creating NFS Shared Network Resources

Configuring a shared resource with Server for NFS requires opening the Command Prompt window with elevated privileges (Start, All Programs, Accessories, right-click Command Prompt, Run As Administrator) and then creating the share using the nfsshare command-line utility. Type nfsshare /? for the exact syntax.

To create an NFS shared network resource using the GUI interface, perform the following tasks:

From Windows Explorer on the server, navigate to the folder that will be shared, right-click it, and choose Properties.

Select the NFS Sharing tab.

Click the Manage NFS Sharing button.

Check the Share This Folder check box, as shown in Figure 4. Configure if anonymous access will be allowed (not normally recommended) or configure any special permissions by clicking Permissions.

Figure 4. Creating a shared resource for NFS.

Click OK and then click Close to save the changes.

Video tutorials
- How To Install Windows 8

- How To Install Windows Server 2012

- How To Install Windows Server 2012 On VirtualBox

- How To Disable Windows 8 Metro UI

- How To Install Windows Store Apps From Windows 8 Classic Desktop

- How To Disable Windows Update in Windows 8

- How To Disable Windows 8 Metro UI

- How To Add Widgets To Windows 8 Lock Screen
programming4us programming4us