运行 Windows 10 build 19044.2006(之前版本运行良好)我想挂载 Debian Samba 服务器上的远程共享文件夹:
//server/folder
got the prompt for credentials (user:giacomino and its password) > press OK > got again the prompt
查看服务器端日志,我发现当前插入的凭据被忽略并替换为以下内容:
[2022/10/13 13:43:46.829803, 3] ../../auth/ntlmssp/ntlmssp_server.c:509(ntlmssp_server_preauth)
Got user=[WLF5] domain=[WWF5] workstation=[WWF5] len1=24 len2=248
[2022/10/13 13:43:46.829869, 3] ../../source3/auth/auth.c:200(auth_check_ntlm_password)
check_ntlm_password: Checking password for unmapped user [WWF5]\[WLF5]@[WWF5] with the new password interface
[2022/10/13 13:43:46.829892, 3] ../../source3/auth/auth.c:203(auth_check_ntlm_password)
check_ntlm_password: mapped user is: [WWF5]\[WLF5]@[WWF5]
[2022/10/13 13:43:46.829969, 3] ../../source3/auth/check_samsec.c:398(check_sam_security)
check_sam_security: Couldn't find user 'WLF5' in passdb.
[2022/10/13 13:43:46.829997, 2] ../../source3/auth/auth.c:344(auth_check_ntlm_password)
check_ntlm_password: Authentication for user [WLF5] -> [WLF5] FAILED with error NT_STATUS_NO_SUCH_USER, authoritative=1
WWF5 是主机名,WLF5 是 Windows 用户。
为什么 Windows 发送的是它的用户而不是 giacomino?
ii samba 2:4.13.13+dfsg-1~deb11u3 amd64 SMB/CIFS file, print, and login server for Unix
ii samba-common 2:4.13.13+dfsg-1~deb11u3 all common files used by both the Samba server and client
ii samba-common-bin 2:4.13.13+dfsg-1~deb11u3 amd64 Samba common files used by both the server and the client
ii samba-dsdb-modules:amd64 2:4.13.13+dfsg-1~deb11u3 amd64 Samba Directory Services Database
ii samba-libs:amd64 2:4.13.13+dfsg-1~deb11u3 amd64 Samba core libraries
ii samba-vfs-modules:amd64 2:4.13.13+dfsg-1~deb11u3 amd64 Samba Virtual FileSystem plugins
答案1
尝试在用户名文本框中输入:YOURDOMAIN\User