Tandberg Data Viking FS-1500 manual Edit the .maphosts file, Element, Description, Examples, 8-10

Models: Viking FS-1500 Viking FS-1600 Viking FS-412

1 151
Download 151 pages 18.34 Kb
Page 130
Image 130
8.6.6.2.Edit the .maphosts file

Tandberg DataMicrosoft Services for Network File System (MSNFS)

__________________________________________________________________________________________________

Notes

To perform this procedure, you must be a member of the Administrators group on the local computer, or you must have been delegated the appropriate authority.

8.6.6.2.Edit the .maphosts file

Next, you need to add entries to the .maphosts file, which is installed with User Name Mapping. This file controls which computers on the network can access User Name Mapping, so you need to add an entry for each computer you are using in this test that is running either Server for NFS or Client for NFS.

You can edit the .maphosts file in a text editor. The .maphosts file is located in %windir%\msnfs on the computer running User Name Mapping.

The .maphosts file contains a list of one or more of the elements described in the following table, each on a separate line. The order of the elements is important because, when matching a computer making a request against the list, User Name Mapping searches from the top down until it finds a match.

Element

Description

Host

Specifies one or more computers that can access

 

User Name Mapping. The host can be specified

 

by an Internet Protocol (IP) address (IP version

 

4), or a host name that resolves to one or more

 

IP addresses.

 

 

host –

Specifies one or more computers that are denied

 

access to User Name Mapping. The host can be

 

specified by an IP address (IP version 4), or a

 

host name that resolves to one or more IP

 

addresses. Note that there must be at least one

 

blank space between host and the dash (–).

+

Specifies that all computers can access User

 

Name Mapping unless disallowed by an earlier

 

entry in the list. All entries in the list following this

 

element are ignored.

 

 

Specifies that all computers are disallowed

 

access to User Name Mapping unless allowed by

 

an earlier entry in the list. All entries in the list

 

following this element are ignored.

 

 

Examples

A .maphosts file with the following contents allows access only by computers named R2_host, UNIX_host, Windows_DC, and NIS_host:

R2_host UNIX_host Windows_DC NIS_host

-

8-10

Tandberg Viking Series Storage Server Administration Manual

Page 130
Image 130
Tandberg Data Viking FS-1500 Edit the .maphosts file, Tandberg DataMicrosoft Services for Network File System MSNFS, 8-10