OS X 中的 Samba 連線失敗

OS X 中的 Samba 連線失敗

伺服器運行 Ubuntu 12.04 和 Samba 3.6.3。 Windows 使用者可以使用路徑\\my_server.com\username和帳戶毫無問題地安裝其共用\username

但是,當我嘗試連接 OS X 10.10.5 本機 GUI 用戶端時,身份驗證失敗。日誌如下圖所示:

2015/09/29 15:47:23.536252,  3] smbd/sesssetup.c:1107(reply_sesssetup_and_X_spnego)
  NativeOS=[Mac OS X 10.10] NativeLanMan=[SMBFS 3.0.2] PrimaryDomain=[]
[2015/09/29 15:47:23.536318,  3] ../libcli/auth/ntlmssp_server.c:348(ntlmssp_server_preauth)
  Got user=[OSX_user] domain=[MY_SERVER] workstation=[workstation] len1=24 len2=260
[2015/09/29 15:47:23.536415,  3] auth/auth.c:219(check_ntlm_password)
  check_ntlm_password:  Checking password for unmapped user [MY_SERVER]\[OSX_user]@[workstation] with the new password interface
[2015/09/29 15:47:23.536469,  3] auth/auth.c:222(check_ntlm_password)
  check_ntlm_password:  mapped user is: [MY_SERVER]\[OSX_user]@[workstation]
[2015/09/29 15:47:23.536638,  3] passdb/lookup_sid.c:1754(get_primary_group_sid)
  Forcing Primary Group to 'Domain Users' for OSX_user
[2015/09/29 15:47:23.536825,  3] ../libcli/auth/ntlm_check.c:392(ntlm_password_check)
  ntlm_password_check: NTLMv2 password check failed
[2015/09/29 15:47:23.536901,  3] ../libcli/auth/ntlm_check.c:437(ntlm_password_check)
  ntlm_password_check: Lanman passwords NOT PERMITTED for user OSX_user
[2015/09/29 15:47:23.537053,  3] ../libcli/auth/ntlm_check.c:585(ntlm_password_check)
  ntlm_password_check: LM password, NT MD4 password in LM field and LMv2 failed for user OSX_user
[2015/09/29 15:47:23.537268,  2] auth/auth.c:319(check_ntlm_password)
   check_ntlm_password:  Authentication for user [OSX_user] -> [OSX_user] FAILED with error NT_STATUS_WRONG_PASSWORD
[2015/09/29 15:47:23.537346,  3] smbd/error.c:81(error_packet_set)
   error packet at smbd/sesssetup.c(124) cmd=115 (SMBsesssetupX) NT_STATUS_LOGON_FAILURE

有什麼想法為什麼會發生這種情況嗎?我需要為 OS X 用戶啟用 NTLM 嗎?

相關內容