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 身分識別對應來源,此監視器會進入「嚴重」健全狀況狀態。

如果健全狀況狀態處於未知,表示此物件的監視尚未開始。

解決方式

如果您已將 Server for 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 主控台] 中將監視器重設為狀況良好狀態。

其他

事件識別碼 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>