Bug 10172 - mount -t cifs uses ntlm instead of ntlmv2
Summary: mount -t cifs uses ntlm instead of ntlmv2
Status: RESOLVED FIXED
Alias: None
Product: CifsVFS
Classification: Unclassified
Component: kernel fs (show other bugs)
Version: 2.6
Hardware: All All
: P5 normal
Target Milestone: ---
Assignee: Steve French
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-28 11:34 UTC by sertg
Modified: 2017-05-03 09:31 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sertg 2013-09-28 11:34:01 UTC
using the Linux mount.cifs commands to mount remote smb shares uses ntlm as default.

Since samba 3.6 the default for smbclient has changed to ntlmv2 as default.

This shlould also be the case with mount.cifs
Comment 1 Jeff Layton 2013-09-30 00:41:07 UTC
The auth method to use when one isn't specified is decided by the kernel.

NTLMv2 encapsulated within NTLMSSP wrapper has been the default since v3.8. Are you running an earlier kernel than that?
Comment 2 Steve French 2017-05-03 09:31:54 UTC
Client defaults to NTLMv2 (in ntlmssp usually) - we don't send in ntlm unless specifically requested on mount.