Bug 9921 - use spnego=no,vista and win7 use command net use to login failed
Summary: use spnego=no,vista and win7 use command net use to login failed
Alias: None
Product: Samba 3.5
Classification: Unclassified
Component: User & Group Accounts (show other bugs)
Version: unspecified
Hardware: x86 Windows Vista
: P5 normal
Target Milestone: ---
Assignee: Samba Bugzilla Account
QA Contact: Samba QA Contact
Depends on:
Reported: 2013-06-03 04:16 UTC by 李宝昌
Modified: 2017-06-29 06:40 UTC (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description 李宝昌 2013-06-03 04:16:37 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.
  (for example:NET USE k: \\\root /USER:root)
  error is:
    System error 86 has occurred.
    The specified network password is not correct.

But,the below command is sussesful:
C:\Users\test>net use
 k: \\\root
Enter the user name for '': root
Enter the password for
The command completed successfully.
Comment 1 Kai Blin 2014-01-22 09:30:54 UTC
Not related to ntlm_auth tool
Comment 2 Andrew Bartlett 2017-06-29 06:40:14 UTC
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.