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 吗?

相关内容