Microsoft KB Archive/231972

= How to Set Up Your Windows NT Network File System Server =

Article ID: 231972

Article Last Modified on 10/31/2006

-

APPLIES TO


 * Microsoft Windows NT Server 4.0 Standard Edition, when used with:
 * Microsoft Windows NT Services for UNIX Add-On Pack

-



This article was previously published under Q231972



SUMMARY
This article provides an example of a simple network file system (NFS) server configuration that may be useful for a system administrator. Note that you can build on this configuration or customize it as needed. This configuration uses a local password file for authentication instead of the network information service (NIS).



MORE INFORMATION
To create a simple network file system (NFS) server configuration:
 * 1) Choose an NTFS partition to work with.

NOTE: NTFS provides file-level security that does not exist with FAT.
 * 1) Create a new folder to share, create a file in this folder, right-click the new folder, and then click Properties.
 * 2) Click the Security tab, click Permissions, and then click to select the Replace Permissions on Subdirectories check box.
 * 3) Click to select the Replaced Permissions on Existing Files check box. Click the individual permissions under the Name area one at a time, and then press Remove to delete them.
 * 4) Click Add, click Show Users, click Everyone, click the administrators group and the user named administrator, and then click Add. Change the type of access to FULL CONTROL, click OK, click OK, click YES to replace permissions, and then click OK.
 * 5) Click Start, point to Programs, point to Windows NT Services for UNIX, and then click Server for NFS. Click the NFS Client Groups tab, press ALT+G to add a group, type AllowedHosts for the Group Name, and then click OK. Press ALT+M to add a member to this group, type the hostname or IP address of your NFS client, click OK, and then click Apply. Note that you cannot use wildcard characters.
 * 6) Click the Share Options tab, type the full path to the folder you created in step 2, and then click Share. Change the type of access to No Access, press ALT+A to add the client group you previously created, click AllowedHosts, and then click Add. Now decide whether to grant root privileges, or configure for an anonymous user:


 * 1) * Root as root: Press ALT+A to add, set the type of access to Root, click OK, and then click OK.
 * 2) * Root as anonymous: Press ALT+A to add, set the type of access to Read-Write, click OK, and then click OK.
 * 3) On the Share Options tab, press ALT+Y, and then click Apply.
 * 4) Press ALT+O to configure user/group mappings, press ALT+E to edit your password file and enter the following information:

New User Name is root

New User UID is 0

New User GID is 1 (Solaris uses 1, BSD uses 0)
 * 1) Press ALT+A to add, and then press ALT+O. Click root(0) under NFS Users, and then click Administrator under Windows Users. Press ALT+D to add the mapping, and then press ALT+A to apply your changes.
 * 2) Log on to your UNIX NFS client as root. Verify you can see the NT NFS Server share by using the showmount command with the "-e  " parameter, where   is the name or IP address of the Windows NT NFS Server. Your command should look like this:


 * 1) showmount -e

Exports list on sfu:

/F/home/sfu, 192.168.105.80
 * 1) Mount the drive to verify functionality with syntax similar to this:

mount NTSERVER:/f/home/sfu /mnt

List the files in the export:

ls -la

total 3

drwxrwxrwx 3 root root 96 May 26 11:53.

drwxr-xr-x 36 root root 1024 May 25 16:26 ..

-rwxrwxrwx 1 root root 0 May 26 11:53 testfile

Keywords: kbhowto kbnetwork KB231972

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.