我在Windows Server 2012計算機上安裝了Exchange Server 2013。使用Kerberos身份驗證時未知的用戶名或密碼錯誤
當我嘗試建立遠程PowerShell連接,使用Kerberos身份驗證此命令:
$exchangeSession = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri "https://servername/powershell" -Credential $credential -Authentication "Kerberos"
我收到以下錯誤:
New-PSSession : [servername] Connecting to remote server servername failed with the following error message : Logon failure: unknown user name or bad password. For more information, see the about_Remote_Troubleshooting Help topic.
At line:1 char:20
+ $exchangeSession = New-PSSession -ConfigurationName Microsoft.Exchange -Connecti ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [New-PSSession], PSRemotingTransportException
+ FullyQualifiedErrorId : LogonFailure,PSSessionOpenFailed
但是,如果我有基本身份驗證嘗試,連接成功建立。
$exchangeSession = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri "https://servername/powershell" -Credential $credential -Authentication "Basic"
有人可以告訴我爲什麼會發生這種錯誤,也是一個補救辦法。
是你的時間同步工作站和Exchange服務器之間的準確? – mjolinor
我是新手。你能告訴我如何檢查他們是否同步? –