我遇到了一个奇怪的问题,我无法通过 SMB 登录到我的 Apple SMB 服务器,只能在一个特定的 Windows 10 工作站上登录。其他 Windows 10 客户端可以正常进行身份验证。
我尝试过更改Network security: LAN Manager authentication level Properties
每个级别,但无济于事。我尝试过的本地安全策略设置是:
Send LM & NTLM responses
Send LM & NTLM - use NTLMv2 session security if negotiated
Send NTLM response only
Send NTLMv2 response only
我有与这些相关的各种错误/var/log/system.log
(将在本文末尾附上这些错误),但我也尝试通过以下方式放宽服务器上的设置:
cd /Applications/Server.app/Contents/ServerRoot/usr/sbin/
sudo ./serveradmin settings smb:ntlm auth = "yes"
sudo ./serveradmin settings smb:lanman auth = "yes"
sudo /Applications/Server.app/Contents/ServerRoot/usr/sbin/serveradmin settings smb
返回:
smb:ServerDescription = "server"
smb:VirtualAdminShares = no
smb:ntlm auth = yes
smb:NetBIOSName = "server"
smb:AllowGuestAccess = no
smb:LocalKerberosRealm = "LKDC:SHA1.12416892D38AB129C3C4E0D4362411DCA653603B"
smb:lanman auth = yes
smb:wins server:_array_index:0 = _empty_dictionary
smb:DOSCodePage = "437"
产生的错误样本/var/log/system.log
如下:
server digest-service[18112]: digest-request: uid=0
server digest-service[18112]: digest-request: init request
server digest-service[18112]: digest-request: init return domain: server server: server indomain was: <NULL>
server digest-service[18112]: digest-request: uid=0
server digest-service[18112]: digest-request: init request
server digest-service[18112]: digest-request: init return domain: server server: server indomain was: <NULL>
server digest-service[18112]: digest-request: uid=0
server digest-service[18112]: digest-request: init request
server digest-service[18112]: digest-request: init return domain: server server: server indomain was: <NULL>
server digest-service[18112]: digest-request: uid=0
server digest-service[18112]: digest-request: init request
server digest-service[18112]: digest-request: init return domain: server server: server indomain was: <NULL>
server digest-service[18112]: digest-request: uid=0
server digest-service[18112]: digest-request: od failed with -1561745588 proto=ntlmv1-with-v2-session
server digest-service[18112]: digest-request: user=server\validusername
server digest-service[18112]: digest-request: kdc failed with -1765328234 proto=unknown
server digest-service[18112]: digest-request: guest failed with -1561745590 proto=ntlmv1-with-v2-session
server digest-service[18112]: digest-request: uid=0
server digest-service[18112]: digest-request: init request
server digest-service[18112]: digest-request: init return domain: server server: server indomain was: <NULL>
server digest-service[18112]: digest-request: uid=0
server digest-service[18112]: digest-request: init request
server digest-service[18112]: digest-request: init return domain: server server: server indomain was: <NULL>
server digest-service[18112]: digest-request: uid=0
server digest-service[18112]: digest-request: init request
server digest-service[18112]: digest-request: init return domain: server server: server indomain was: <NULL>
server digest-service[18112]: digest-request: uid=0
server digest-service[18112]: digest-request: od failed with -1561745588 proto=ntlmv1-with-v2-session
server digest-service[18112]: digest-request: user=windows10client\validusername
server digest-service[18112]: digest-request: kdc failed with -1765328234 proto=unknown
server digest-service[18112]: digest-request: guest failed with -1561745590 proto=ntlmv1-with-v2-session
server digest-service[18112]: digest-request: uid=0
server digest-service[18112]: digest-request: init request
server digest-service[18112]: digest-request: init return domain: server server: server indomain was: <NULL>
server digest-service[18112]: digest-request: uid=0
server digest-service[18112]: digest-request: init request
server digest-service[18112]: digest-request: init return domain: server server: server indomain was: <NULL>
server digest-service[18112]: digest-request: uid=0
server digest-service[18112]: digest-request: init request
server digest-service[18112]: digest-request: init return domain: server server: server indomain was: <NULL>
server digest-service[18112]: digest-request: uid=0
server digest-service[18112]: digest-request: od failed with -1561745588 proto=ntlmv1-with-v2-session
server digest-service[18112]: digest-request: user=windows10client\validusername
server digest-service[18112]: digest-request: kdc failed with -1765328234 proto=unknown
server digest-service[18112]: digest-request: guest failed with -1561745590 proto=ntlmv1-with-v2-session
server digest-service[18112]: digest-request: uid=0
server digest-service[18112]: digest-request: init request
server digest-service[18112]: digest-request: init return domain: server server: server indomain was: <NULL>
server digest-service[18112]: digest-request: uid=0
server digest-service[18112]: digest-request: init request
server digest-service[18112]: digest-request: init return domain: server server: server indomain was: <NULL>
server digest-service[18112]: digest-request: uid=0
server digest-service[18112]: digest-request: init request
server digest-service[18112]: digest-request: init return domain: server server: server indomain was: <NULL>
server digest-service[18112]: digest-request: uid=0
server digest-service[18112]: digest-request: od failed with -1561745588 proto=ntlmv1-with-v2-session
server digest-service[18112]: digest-request: user=windows10client\validusername
server digest-service[18112]: digest-request: kdc failed with -1765328234 proto=unknown
server digest-service[18112]: digest-request: guest failed with -1561745590 proto=ntlmv1-with-v2-session
server digest-service[18112]: digest-request: uid=0
server digest-service[18112]: digest-request: init request
server digest-service[18112]: digest-request: init return domain: server server: server indomain was: <NULL>
server digest-service[18112]: digest-request: uid=0
server digest-service[18112]: digest-request: init request
server digest-service[18112]: digest-request: init return domain: server server: server indomain was: <NULL>
server digest-service[18112]: digest-request: uid=0
server digest-service[18112]: digest-request: init request
server digest-service[18112]: digest-request: init return domain: server server: server indomain was: <NULL>
server digest-service[18112]: digest-request: uid=0
server digest-service[18112]: digest-request: od failed with -1561745588 proto=ntlmv1-with-v2-session
server digest-service[18112]: digest-request: user=windows10client\validusername
server digest-service[18112]: digest-request: kdc failed with -1765328234 proto=unknown
server digest-service[18112]: digest-request: guest failed with -1561745590 proto=ntlmv1-with-v2-session
知道这里可能发生了什么吗?如前所述,它似乎仅限于这个单一的 Windows 10 客户端...