I'm attempting to create a new NFS Mapped identity in Server 2019 but am getting the following exception:
New-NfsMappedIdentity -GroupIdentifier 100 -UserIdentifier 100 -UserName Test
DEBUG: 1+ >>>> New-NfsMappedIdentity -GroupIdentifier 100 -UserIdentifier 100 -UserName Test
DEBUG: ! CALL function '<ScriptBlock>'
DEBUG: 19+ if ( & >>>> { Set-StrictMode -Version 1; $_.PSMessageDetails }
) {
DEBUG: ! CALL function '<ScriptBlock>'
DEBUG: 19+ if ( & { >>>> Set-StrictMode -Version 1; $_.PSMessageDetails }
) {
DEBUG: 19+ if ( & { Set-StrictMode -Version 1; >>>> $_.PSMessageDetails }
) {
DEBUG: 1+ & >>>> { Set-StrictMode -Version 1; $this.Exception.InnerException.PSMessageDetails }
DEBUG: ! CALL function '<ScriptBlock>'
DEBUG: 1+ & { >>>> Set-StrictMode -Version 1; $this.Exception.InnerException.PSMessageDetails }
DEBUG: 1+ & { Set-StrictMode -Version 1; >>>> $this.Exception.InnerException.PSMessageDetails }
DEBUG: 1+ & { Set-StrictMode -Version 1; $this.Exception.InnerException.PSMessageDetails >>>> }
DEBUG: 19+ if ( & { Set-StrictMode -Version 1; $_.PSMessageDetails >>>> }
) {
DEBUG: 26+ $errorCategoryMsg = & >>>> { Set-StrictMode -Version 1; $_.ErrorCategory_Message
}
DEBUG: ! CALL function '<ScriptBlock>'
DEBUG: 26+ $errorCategoryMsg = & { >>>> Set-StrictMode -Version 1; $_.ErrorCategory_Message
}
DEBUG: 26+ $errorCategoryMsg = & { Set-StrictMode -Version 1; >>>> $_.ErrorCategory_Message
}
DEBUG: 26+ $errorCategoryMsg = & { Set-StrictMode -Version 1; $_.ErrorCategory_Message >>>> }
DEBUG: 42+ $originInfo = & >>>> { Set-StrictMode -Version 1; $_.OriginInfo
}
DEBUG: ! CALL function '<ScriptBlock>'
DEBUG: 42+ $originInfo = & { >>>> Set-StrictMode -Version 1; $_.OriginInfo
}
DEBUG: 42+ $originInfo = & { Set-StrictMode -Version 1; >>>> $_.OriginInfo
}
DEBUG: 42+ $originInfo = & { Set-StrictMode -Version 1; $_.OriginInfo >>>>
}
New-NfsMappedIdentity :
The specified mapping store is not supported.
At line:1 char:1
+ New-NfsMappedIdentity -GroupIdentifier 100 -UserIdentifier 100 -UserN ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (:) [New-NfsMappedIdentity], Exception
+ FullyQualifiedErrorId : NfsIdentityMappingStoreNotSupportedException,Microsoft.FileServices.Powershell.Nfs.NewNfsMappedIdentityCommand
--
I've created both passwd and group files:
%SystemRoot%\system32\drivers\etc\passwd
%SystemRoot%\system32\drivers\etc\group
--
And NFS services are running and functioning, I just want to map the UIDs to Windows users. Also tried:
>nfsadmin mapping
The following are the settings on localhost
Mapping Server Lookup : Enabled
Mapping Server : localhost
AD Lookup : Disabled
AD Domain :
>nfsadmin mapping enabled
Failed to connect to NFS WMI provider.
Any ideas?