Unable to save the User name mapping information in windows 2008

We do get cases where the User name mapping information is lost after restarting the Server/User name mapping service. This happens when we set up the User Name Mapping information on windows 2008/Windows 2003 R2 using GUI.

The issue started with User name mapping not working. Running the command below: mapadmin list -all does not gives desired results.

On troubleshooting, we found that the issue that the mapping information are not getting saved. More common in Windows 2008, since the only way to set up mapping information on Windows 2008 is through ADlookup or setting up a Mapping server.

We tried setting the Mapping information using command line and it resolved the issue.

  • nfsadmin mapping config mapsvr= and,
  • nfsadmin mapping config mapLookup=yes

For ADlookup you can run the command below:

  • nfsadmin mapping config adlookup=no/yes