Administrator Guide

4 Optionally, if you are setting up a shared AD LDS store to allow multiple NFS servers to query the account mapping database, add the
mapping data store to the ACL to allow Read permissions for the Anonymous Logon account as follows:
dsacls "\\server1:389\CN=nfsadldsinstance,dc=server1" /G "anonymous logon":GR /I:T
NOTE: You can skip this task if there is no shared access between computers to the mapping data store.
Conguring the mapping source
About this task
To congure the mapping source:
Steps
1 On the taskbar, click Start, and then type cmd in the search box.
The Window CLI icon is displayed under Programs.
2 Right-click Command Prompt, and select Run as administrator to open an elevated CLI.
3 Run the following command, where <Computer> is the name of the computer where the AD LDS instance was created, <Port> is the
port that the AD LDS instance uses:
nfsadmin mapping config adlookup=yes addomain=<Computer>:<Port>
NOTE: For this example, use the following:
nfsadmin mapping config adlookup=yes addomain=server1:389
4 Test the setup by accessing the NFS resources and verifying that the user and group account mappings work as expected.
Debug notes for NFS account mapping problems
Server for NFS can be made to log account mapping failures to the Windows Event Log service by setting the following registry key:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\nfsserver\Parameters
\VerboseMappingFailureLogging INVALID USE OF SYMBOLS REG_DWORD = 1
After you create the key, you must restart the Server for NFS.
Restarting the server for NFS
About this task
To restart the server for NFS:
Steps
1 On the taskbar, click Start, and then type cmd in the search box.
The Window CLI icon is displayed under Programs.
2 Right-click Command Prompt, and select Run as administrator to open an elevated CLI.
3 Run the following command:
nfsadmin server stop && nfsadmin server start
Creating the NFS share
About this task
To create an NFS share:
Steps
1 In Server Manager, go to File and Storage Service server role and click Shares.
A page with Shares, Volume and Quota panes is displayed.
2 To create a new share, in the Shares section, perform any one of the following tasks:
Click To create a le share, start the New Share Wizard .
Select New Share from the Tasks drop-down menu.
The New Share Wizard window is displayed.
26
Using your NAS system