The Samba-Bugzilla – Bug 9921
use spnego=no,vista and win7 use command net use to login failed
Last modified: 2017-06-29 06:40:14 UTC
samba server smb.conf is:
use spnego = No
path = /
read only = No
client environment is:
OS: vista or win7,win8 and so on.
security protocal: NTLMv2
vista or win7,win8 cannot use the below command to login samba.
NET USE k: \\SERVER_IP\SHARE_NAME PASSWORD /USER:USER_NAME
(for example:NET USE k: \\10.167.158.10\root /USER:root)
System error 86 has occurred.
The specified network password is not correct.
But,the below command is sussesful:
Enter the user name for '10.167.158.10': root
Enter the password for 10.167.158.10:
The command completed successfully.
Not related to ntlm_auth tool
Likely this is part of the modern security restrictions enforced to make NTLMv2 moderately secure. I don't see a Samba issue here, we did the same at the time of the 'badlock' fixes, with a default of 'raw NTLMv2 auth = no'.
Therefore I'm closing this as RESOLVED / INVALID to help tidy up the bugzilla.