[Bug 1697817] Re: disable smb1 by default

Julian Alarcon alarconj at gmail.com
Mon Sep 11 21:25:30 UTC 2017


Hi!

Adding information to this bug, latest kernel release, 4.13, disabled by default SMBv1:
https://lkml.org/lkml/2017/9/3/155

This is related to SAMBA but still there is work needed
#######
The change in question is simply changing the default cifs behavior:
instead of defaulting to SMB 1.0 (which you really should not use:
just google for "stop using SMB1" or similar), the default cifs mount
now defaults to a rather more modern SMB 3.0.

Now, because you shouldn't have been using SMB1 anyway, this shouldn't
affect anybody. But guess what? It almost certainly does affect some
people, because they blithely continued using SMB1 without really
thinking about it.

And you certainly _can_ continue to use SMB1, but due to the default
change, now you need to be *aware* of it. You may need to add an
explicit "vers=1.0" to your mount options in /etc/fstab or similar if
you *really* want SMB1.

But if the new default of 3.0 doesn't work (because you still use a
pterodactyl as a windshield wiper), before you go all the way back to
the bad old days and use that "vers=1.0", you might want to try
"vers=2.1". Because let's face it, SMB1 is just bad, bad, bad.
#######

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/1697817

Title:
  disable smb1 by default

Status in samba package in Ubuntu:
  Triaged

Bug description:
  Hello,

  Ned Pyle from the SMB team at Microsoft would very much like us to
  disable SMBv1 in Samba by default:

  https://twitter.com/NerdPyle/status/874798165429440512
  https://blogs.technet.microsoft.com/filecab/2016/09/16/stop-using-smb1/

  It'd be nice to make this change early enough that 18.04 LTS does not
  ship with SMB1 support enabled by default.

  Thanks

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1697817/+subscriptions



More information about the foundations-bugs mailing list