Specifying how Client for NFS retrieves UNIX-style identity data

Applies To: Windows Server 2003 R2

Access to Network File System (NFS) file servers requires UNIX-style user and group identities, which are not the same as Windows user and group identities. To enable users to access NFS shared resources, Client for NFS can retrieve UNIX-style identity data from Active Directory (if the schema includes the appropriate attributes), or from a User Name Mapping server. If Active Directory does not include UNIX-style identity attributes and a User Name Mapping server is not available on your network, then Client for NFS will attempt to access NFS resources anonymously.

NFS servers often limit anonymous access to read-only operations, or simply do not allow anonymous access.

To specify how Client for NFS retrieves UNIX-style identity data using the Windows interface

  1. Open Services for Network File System: click Start, point to Programs or All Programs, point to Administrative Tools, and then click Services for Network File System (NFS).

  2. If necessary, connect to the computer that you want to manage.

  3. Right-click Services for NFS, and then click Properties.

  4. Specify how Client for NFS retrieves UNIX-style identity data:

    • To use Active Directory, select the Active Directory domain name check box, type the domain name, and then click Apply.

    • To use User Name Mapping, select the User Name Mapping check box, type the name of the mapping server, and then click Apply.

    Note

    Before using User Name Mapping, the computer running Client for NFS must be listed in the .maphosts file on the computer running User Name Mapping.

To specify how Client for NFS retrieves UNIX-style identity data using the command line

  1. Open an elevated privilege command prompt.

  2. Specify how Client for NFS retrieves UNIX-style identity data:

    • To use Active Directory, at a command prompt, type:

      nfsadmin mapping [ComputerName] **config adlookup=yes addomain=**DomainName

    • To use User Name Mapping, at a command prompt, type:

      nfsadmin mapping [ComputerName] **config maplookup=yes mapsvr=**ServerName

    Argument Description

    DomainName

    The name of the domain controller that you want to use.

    ComputerName

    The name of the computer that you want to manage.

    ServerName

    The name of the mapping server that you want to use.

    Note

    Before using User Name Mapping, the computer running Client for NFS must be listed in the .maphosts file on the computer running User Name Mapping.