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
Status: RESOLVED INVALID
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
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-03 04:16 UTC by 李宝昌
Modified: 2017-06-29 06:40 UTC (History)
1 user (show)

See Also:


Attachments

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:
[global]
   use spnego = No
[root]
   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)
  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: \\10.167.158.10\root
Enter the user name for '10.167.158.10': root
Enter the password for 10.167.158.10:
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.

Sorry,