TestMappingStore method of the MSFT_NfsServerTasks class

Validates existing settings for the mapping store used by the Windows NFS server.

Syntax

uint32 TestMappingStore();

Parameters

This method has no parameters.

Remarks

In the case of an Active Directory Lightweight Directory Services (AD LDS) or any other LDAP mapping store:

  1. The method checks whether the AD LDS server that has been configured as an identity mapping store is reachable from the Windows NFS server. This ensures that the NFS server is able to retrieve identity mapping configuration from the AD LDS server.
  2. The method checks that the schema required for identity mapping has been applied. The schema extensions required for identity mapping need to be applied on the AD LDS instance, in order for it to be configured as an identity mapping store. This ensures that required members such as Uid and Gid are available.

In the case of an Active Directory mapping store:

  1. The method checks whether the domain controller is reachable from the Windows NFS server. This ensures that the NFS server is able to retrieve configured identity mapping information from the domain controller.
  2. The domain functional level must be Windows Server 2003 R2 or later, in order to use Active Directory Domain Services (AD DS) as an identity mapping store. Therefore this method checks to see whether the domain functional level of the specified domain is at least Windows Server 2003 R2.

Requirements

Minimum supported client
Windows 8
Minimum supported server
Windows Server 2012
Namespace
Root\Microsoft\Windows\NFS
MOF
NfsCimProv.mof
DLL
NfsCimProv.dll

See also

MSFT_NfsMappingStore

MSFT_NfsServerTasks