Allowing anonymous access to an NFS share
Applies To: Windows Server 2003 R2
To allow anonymous access to an NFS share using the Windows interface
Open Windows Explorer: click Start, point to Programs or All Programs, point to Accessories, and then click Windows Explorer.
In the details pane, right-click the shared directory you want to manage.
Click Sharing.
Click NFS Sharing.
Select Allow anonymous access.
To specify a nondefault value for the anonymous user identifier (UID) or anonymous group identifier (GID), type the value in the Anonymous UID or Anonymous GID box.
Click Apply.
Note
The anonymous UID and anonymous GID values for a share will be used when reporting the owner of a file owned by an unmapped user, even if Allow Anonymous Access is disabled. In Windows Server 2003 operating systems, the Everyone group does not include anonymous users by default. For information about providing anonymous access, see Allowing anonymous access to resources by NFS clients.
To allow anonymous access to an NFS share using the command line
Open the command prompt.
At the command prompt, type:
nfsshare -ooption**=value...**sharename
Argument Description sharename
The name of the shared directory.
-o
Specifies one or more options to be set and must be set to at least one of the following:
anon={yes | no}
Specifies whether anonymous (unmapped) users can access the shared directory. The default is no.
anonuid=uid
Specifies that anonymous (unmapped) users will access the share directory using uid as their user identifier (UID). The default is -2. The anonymous UID will be used when reporting the owner of a file owned by an unmapped user, even if anonymous access is disabled.
anongid=gid
Specifies that anonymous (unmapped) users will access the share directory using gid as their group identifier (GID). The default is -2. The anonymous GID will be used when reporting the owner of a file owned by an unmapped user, even if anonymous access is disabled.
Note
To view the complete syntax for this command, at a command prompt, type: nfsshare /? In Windows Server 2003 operating systems, the Everyone group does not include anonymous users by default. For information about providing anonymous access, see Allowing anonymous access to resources by NFS clients.