NFS:标识映射源

Microsoft.Windows.FileServices.Service.NFS.6.3.Server.UserNameMapping.Config.UNMPService (UnitMonitor)

已为此监视器启用警报时,如果 Server for NFS 无法连接到 UNMP 服务器或已为映射源配置 LDAP 服务器,该对象会监视用户名映射服务连接并生成警报。

Knowledge Base article:

摘要

已为此监视器启用警报时,如果 Server for NFS 无法连接到 UNMP 服务器或已为映射源配置 LDAP 服务器,该对象会监视用户名映射服务连接并生成警报。

用户名映射将 Windows 和 UNIX 域之间的用户帐户相关联。用户名映射将 Windows 与 UNIX 用户名关联,以便登录到 UNIX 域的用户可以访问 Windows 上的共享资源,而无需另外登录到 Windows 域。

原因

如果未将 Server for NFS 配置为使用 Active Directory 域服务 (AD DS) 或用户名映射作为 Windows 到 UNIX 的标识映射源,此监视器可能会进入“严重”运行状况状态。

如果运行状况状态未知,则说明对此对象的监视尚未开始。

解决方案

如果已配置 NFS 服务器上的共享使用“未映射的 UNIX 用户访问”模式,您可以忽略此警报并手动重置监视器的运行状况状态。

配置 Server for NFS 使用标识映射源

若要解决此问题,如下所示配置 Server for NFS 使用标识映射源:

1. 在受影响服务器的提升命令提示符处,键入 nfsadmin mapping 可显示标识映射设置。

2. 执行以下操作之一配置标识映射设置:

若要为用户名映射服务器配置标识映射设置,请键入以下命令,其中 [computername] 是映射服务器的名称:

nfsadmin mapping config maplookup=yes mapsvr=[computername]>

若要配置 LDAP 服务器的标识映射设置,请键入以下命令:

nfsadmin mapping config adlookup=yes addomain=[domainname]

验证

若要确认是否已正确配置 Server for NFS 以进行用户名映射,请使用以下过程:

1. 在提升命令提示符处,键入 nfsadmin mapping

2. 确认“映射服务器”字段显示已安装用户名映射服务的计算机的名称,或 LDAP 服务的“AD 域”

解决此问题后,在 Operations Console 中将监视器重置为“正常”状态。

其他

事件 ID 1006 (http://go.microsoft.com/fwlink/?LinkId=185988)

有关配置标识映射的详细信息,请参阅 为网络文件系统 (NFS) 服务配置标识映射 (http://go.microsoft.com/fwlink/?LinkId=186011)。

有关配置 Server for NFS 的详细信息,请参阅 网络文件系统服务 (http://go.microsoft.com/fwlink/?LinkId=185983)。

Element properties:

TargetMicrosoft.Windows.FileServices.Service.NFS.6.3
Parent MonitorMicrosoft.Windows.FileServices.Service.NFS.6.3.Server.UserNameMapping.Config
CategoryConfigurationHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.SingleEventLogManualReset2StateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
NFS:标识映射源
事件描述:{0}
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.FileServices.Service.NFS.6.3.Server.UserNameMapping.Config.UNMPService" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.FileServices.Service.NFS.6.3" ParentMonitorID="Microsoft.Windows.FileServices.Service.NFS.6.3.Server.UserNameMapping.Config" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.SingleEventLogManualReset2StateMonitorType" ConfirmDelivery="true">
<Category>ConfigurationHealth</Category>
<AlertSettings AlertMessage="Microsoft.Windows.FileServices.Service.NFS.6.3.Server.UserNameMapping.Config.UNMPService_AlertMessageResourceID">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/EventDescription$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="EventRaised" MonitorTypeStateID="EventRaised" HealthState="Warning"/>
<OperationalState ID="ManualResetEventRaised" MonitorTypeStateID="ManualResetEventRaised" HealthState="Success"/>
</OperationalStates>
<Configuration>
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>Microsoft-Windows-ServicesForNFS-Server/IdentityMapping</LogName>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">1006</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Microsoft-Windows-ServicesForNFS-Server</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</Configuration>
</UnitMonitor>