How to force Samba to use SMB 3.0?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
1
down vote

favorite












With SMB 1.0/CIFS being removed from Windows 10 in Redstone 3 update due to vulnerability, this will conk out a lot of systems relying on older network hard drive enclosures.



I have a Linux-based device (Raspberry Pi) that I could connect up to the drive with USB, but I'm not sure on this point:



Is there a way to restrict Samba on the Pi to using only SMB 3.0?







share|improve this question


























    up vote
    1
    down vote

    favorite












    With SMB 1.0/CIFS being removed from Windows 10 in Redstone 3 update due to vulnerability, this will conk out a lot of systems relying on older network hard drive enclosures.



    I have a Linux-based device (Raspberry Pi) that I could connect up to the drive with USB, but I'm not sure on this point:



    Is there a way to restrict Samba on the Pi to using only SMB 3.0?







    share|improve this question
























      up vote
      1
      down vote

      favorite









      up vote
      1
      down vote

      favorite











      With SMB 1.0/CIFS being removed from Windows 10 in Redstone 3 update due to vulnerability, this will conk out a lot of systems relying on older network hard drive enclosures.



      I have a Linux-based device (Raspberry Pi) that I could connect up to the drive with USB, but I'm not sure on this point:



      Is there a way to restrict Samba on the Pi to using only SMB 3.0?







      share|improve this question














      With SMB 1.0/CIFS being removed from Windows 10 in Redstone 3 update due to vulnerability, this will conk out a lot of systems relying on older network hard drive enclosures.



      I have a Linux-based device (Raspberry Pi) that I could connect up to the drive with USB, but I'm not sure on this point:



      Is there a way to restrict Samba on the Pi to using only SMB 3.0?









      share|improve this question













      share|improve this question




      share|improve this question








      edited Oct 16 '17 at 13:25









      Jeff Schaller

      32.1k849109




      32.1k849109










      asked Oct 16 '17 at 12:44









      Phi

      814




      814




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          2
          down vote



          accepted










          Use server min protocol option in smb.conf:




          This setting controls the minimum protocol version that the server will allow the client to use.




          Possible values are listed in documentation for server max protocol option.



          The documentation matching the samba version installed on your system should be available with man smb.conf.






          share|improve this answer






















          • In the [global] section, this is explained in the documentation as well.
            – sebasth
            Oct 16 '17 at 13:49










          • Yep, I've added it to [global], but it's not accepting server min protocol at all, min protocol of SMB3 or SMB3_00 are both not accepted either. [2017/10/16 14:03:57, 0] smbd/server.c:1053(main) smbd version 3.6.6 started. Copyright Andrew Tridgell and the Samba Team 1992-2011 [2017/10/16 14:03:57, 0] param/loadparm.c:7913(lp_set_enum_parm) WARNING: Ignoring invalid value 'SMB3' for parameter 'min protocol' [2017/10/16 14:01:59.411842, 0] param/loadparm.c:7913(lp_set_enum_parm) WARNING: Ignoring invalid value 'SMB3_00' for parameter 'min protocol'
            – Phi
            Oct 16 '17 at 14:03











          • You should refer to the documentation matching the version of samba you have. The old version (3.6.6) of samba on your system likely doesn't have support for SMB3, check the documentation on your system. (Ubuntu 12.04 LTS ships with 3.6.3, which is quite close if you need online documentation: man smb.conf)
            – sebasth
            Oct 16 '17 at 14:11










          • I've done apt-get update/upgrade. According to Samba wiki, the recommended Linux kernel SMB3 support is kernel version 3.18 or later (or equivalent, ie cifs module version 2.04 or later). I've checked cifs via modinfo cifs, I have 2.06. I've checked kernel version via uname -a, I have 4.1.19, and cat /etc/debian_version is 7.11. The Pi should support a better samba, any ideas why not?
            – Phi
            Oct 16 '17 at 14:26











          • cifs module is for kernel client, not server which is userspace. For SMB3 you need Samba 4.0.0 or later.
            – sebasth
            Oct 16 '17 at 14:43










          Your Answer







          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "106"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          convertImagesToLinks: false,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













           

          draft saved


          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f398404%2fhow-to-force-samba-to-use-smb-3-0%23new-answer', 'question_page');

          );

          Post as a guest






























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          up vote
          2
          down vote



          accepted










          Use server min protocol option in smb.conf:




          This setting controls the minimum protocol version that the server will allow the client to use.




          Possible values are listed in documentation for server max protocol option.



          The documentation matching the samba version installed on your system should be available with man smb.conf.






          share|improve this answer






















          • In the [global] section, this is explained in the documentation as well.
            – sebasth
            Oct 16 '17 at 13:49










          • Yep, I've added it to [global], but it's not accepting server min protocol at all, min protocol of SMB3 or SMB3_00 are both not accepted either. [2017/10/16 14:03:57, 0] smbd/server.c:1053(main) smbd version 3.6.6 started. Copyright Andrew Tridgell and the Samba Team 1992-2011 [2017/10/16 14:03:57, 0] param/loadparm.c:7913(lp_set_enum_parm) WARNING: Ignoring invalid value 'SMB3' for parameter 'min protocol' [2017/10/16 14:01:59.411842, 0] param/loadparm.c:7913(lp_set_enum_parm) WARNING: Ignoring invalid value 'SMB3_00' for parameter 'min protocol'
            – Phi
            Oct 16 '17 at 14:03











          • You should refer to the documentation matching the version of samba you have. The old version (3.6.6) of samba on your system likely doesn't have support for SMB3, check the documentation on your system. (Ubuntu 12.04 LTS ships with 3.6.3, which is quite close if you need online documentation: man smb.conf)
            – sebasth
            Oct 16 '17 at 14:11










          • I've done apt-get update/upgrade. According to Samba wiki, the recommended Linux kernel SMB3 support is kernel version 3.18 or later (or equivalent, ie cifs module version 2.04 or later). I've checked cifs via modinfo cifs, I have 2.06. I've checked kernel version via uname -a, I have 4.1.19, and cat /etc/debian_version is 7.11. The Pi should support a better samba, any ideas why not?
            – Phi
            Oct 16 '17 at 14:26











          • cifs module is for kernel client, not server which is userspace. For SMB3 you need Samba 4.0.0 or later.
            – sebasth
            Oct 16 '17 at 14:43














          up vote
          2
          down vote



          accepted










          Use server min protocol option in smb.conf:




          This setting controls the minimum protocol version that the server will allow the client to use.




          Possible values are listed in documentation for server max protocol option.



          The documentation matching the samba version installed on your system should be available with man smb.conf.






          share|improve this answer






















          • In the [global] section, this is explained in the documentation as well.
            – sebasth
            Oct 16 '17 at 13:49










          • Yep, I've added it to [global], but it's not accepting server min protocol at all, min protocol of SMB3 or SMB3_00 are both not accepted either. [2017/10/16 14:03:57, 0] smbd/server.c:1053(main) smbd version 3.6.6 started. Copyright Andrew Tridgell and the Samba Team 1992-2011 [2017/10/16 14:03:57, 0] param/loadparm.c:7913(lp_set_enum_parm) WARNING: Ignoring invalid value 'SMB3' for parameter 'min protocol' [2017/10/16 14:01:59.411842, 0] param/loadparm.c:7913(lp_set_enum_parm) WARNING: Ignoring invalid value 'SMB3_00' for parameter 'min protocol'
            – Phi
            Oct 16 '17 at 14:03











          • You should refer to the documentation matching the version of samba you have. The old version (3.6.6) of samba on your system likely doesn't have support for SMB3, check the documentation on your system. (Ubuntu 12.04 LTS ships with 3.6.3, which is quite close if you need online documentation: man smb.conf)
            – sebasth
            Oct 16 '17 at 14:11










          • I've done apt-get update/upgrade. According to Samba wiki, the recommended Linux kernel SMB3 support is kernel version 3.18 or later (or equivalent, ie cifs module version 2.04 or later). I've checked cifs via modinfo cifs, I have 2.06. I've checked kernel version via uname -a, I have 4.1.19, and cat /etc/debian_version is 7.11. The Pi should support a better samba, any ideas why not?
            – Phi
            Oct 16 '17 at 14:26











          • cifs module is for kernel client, not server which is userspace. For SMB3 you need Samba 4.0.0 or later.
            – sebasth
            Oct 16 '17 at 14:43












          up vote
          2
          down vote



          accepted







          up vote
          2
          down vote



          accepted






          Use server min protocol option in smb.conf:




          This setting controls the minimum protocol version that the server will allow the client to use.




          Possible values are listed in documentation for server max protocol option.



          The documentation matching the samba version installed on your system should be available with man smb.conf.






          share|improve this answer














          Use server min protocol option in smb.conf:




          This setting controls the minimum protocol version that the server will allow the client to use.




          Possible values are listed in documentation for server max protocol option.



          The documentation matching the samba version installed on your system should be available with man smb.conf.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Oct 16 '17 at 13:03

























          answered Oct 16 '17 at 12:46









          sebasth

          6,01421643




          6,01421643











          • In the [global] section, this is explained in the documentation as well.
            – sebasth
            Oct 16 '17 at 13:49










          • Yep, I've added it to [global], but it's not accepting server min protocol at all, min protocol of SMB3 or SMB3_00 are both not accepted either. [2017/10/16 14:03:57, 0] smbd/server.c:1053(main) smbd version 3.6.6 started. Copyright Andrew Tridgell and the Samba Team 1992-2011 [2017/10/16 14:03:57, 0] param/loadparm.c:7913(lp_set_enum_parm) WARNING: Ignoring invalid value 'SMB3' for parameter 'min protocol' [2017/10/16 14:01:59.411842, 0] param/loadparm.c:7913(lp_set_enum_parm) WARNING: Ignoring invalid value 'SMB3_00' for parameter 'min protocol'
            – Phi
            Oct 16 '17 at 14:03











          • You should refer to the documentation matching the version of samba you have. The old version (3.6.6) of samba on your system likely doesn't have support for SMB3, check the documentation on your system. (Ubuntu 12.04 LTS ships with 3.6.3, which is quite close if you need online documentation: man smb.conf)
            – sebasth
            Oct 16 '17 at 14:11










          • I've done apt-get update/upgrade. According to Samba wiki, the recommended Linux kernel SMB3 support is kernel version 3.18 or later (or equivalent, ie cifs module version 2.04 or later). I've checked cifs via modinfo cifs, I have 2.06. I've checked kernel version via uname -a, I have 4.1.19, and cat /etc/debian_version is 7.11. The Pi should support a better samba, any ideas why not?
            – Phi
            Oct 16 '17 at 14:26











          • cifs module is for kernel client, not server which is userspace. For SMB3 you need Samba 4.0.0 or later.
            – sebasth
            Oct 16 '17 at 14:43
















          • In the [global] section, this is explained in the documentation as well.
            – sebasth
            Oct 16 '17 at 13:49










          • Yep, I've added it to [global], but it's not accepting server min protocol at all, min protocol of SMB3 or SMB3_00 are both not accepted either. [2017/10/16 14:03:57, 0] smbd/server.c:1053(main) smbd version 3.6.6 started. Copyright Andrew Tridgell and the Samba Team 1992-2011 [2017/10/16 14:03:57, 0] param/loadparm.c:7913(lp_set_enum_parm) WARNING: Ignoring invalid value 'SMB3' for parameter 'min protocol' [2017/10/16 14:01:59.411842, 0] param/loadparm.c:7913(lp_set_enum_parm) WARNING: Ignoring invalid value 'SMB3_00' for parameter 'min protocol'
            – Phi
            Oct 16 '17 at 14:03











          • You should refer to the documentation matching the version of samba you have. The old version (3.6.6) of samba on your system likely doesn't have support for SMB3, check the documentation on your system. (Ubuntu 12.04 LTS ships with 3.6.3, which is quite close if you need online documentation: man smb.conf)
            – sebasth
            Oct 16 '17 at 14:11










          • I've done apt-get update/upgrade. According to Samba wiki, the recommended Linux kernel SMB3 support is kernel version 3.18 or later (or equivalent, ie cifs module version 2.04 or later). I've checked cifs via modinfo cifs, I have 2.06. I've checked kernel version via uname -a, I have 4.1.19, and cat /etc/debian_version is 7.11. The Pi should support a better samba, any ideas why not?
            – Phi
            Oct 16 '17 at 14:26











          • cifs module is for kernel client, not server which is userspace. For SMB3 you need Samba 4.0.0 or later.
            – sebasth
            Oct 16 '17 at 14:43















          In the [global] section, this is explained in the documentation as well.
          – sebasth
          Oct 16 '17 at 13:49




          In the [global] section, this is explained in the documentation as well.
          – sebasth
          Oct 16 '17 at 13:49












          Yep, I've added it to [global], but it's not accepting server min protocol at all, min protocol of SMB3 or SMB3_00 are both not accepted either. [2017/10/16 14:03:57, 0] smbd/server.c:1053(main) smbd version 3.6.6 started. Copyright Andrew Tridgell and the Samba Team 1992-2011 [2017/10/16 14:03:57, 0] param/loadparm.c:7913(lp_set_enum_parm) WARNING: Ignoring invalid value 'SMB3' for parameter 'min protocol' [2017/10/16 14:01:59.411842, 0] param/loadparm.c:7913(lp_set_enum_parm) WARNING: Ignoring invalid value 'SMB3_00' for parameter 'min protocol'
          – Phi
          Oct 16 '17 at 14:03





          Yep, I've added it to [global], but it's not accepting server min protocol at all, min protocol of SMB3 or SMB3_00 are both not accepted either. [2017/10/16 14:03:57, 0] smbd/server.c:1053(main) smbd version 3.6.6 started. Copyright Andrew Tridgell and the Samba Team 1992-2011 [2017/10/16 14:03:57, 0] param/loadparm.c:7913(lp_set_enum_parm) WARNING: Ignoring invalid value 'SMB3' for parameter 'min protocol' [2017/10/16 14:01:59.411842, 0] param/loadparm.c:7913(lp_set_enum_parm) WARNING: Ignoring invalid value 'SMB3_00' for parameter 'min protocol'
          – Phi
          Oct 16 '17 at 14:03













          You should refer to the documentation matching the version of samba you have. The old version (3.6.6) of samba on your system likely doesn't have support for SMB3, check the documentation on your system. (Ubuntu 12.04 LTS ships with 3.6.3, which is quite close if you need online documentation: man smb.conf)
          – sebasth
          Oct 16 '17 at 14:11




          You should refer to the documentation matching the version of samba you have. The old version (3.6.6) of samba on your system likely doesn't have support for SMB3, check the documentation on your system. (Ubuntu 12.04 LTS ships with 3.6.3, which is quite close if you need online documentation: man smb.conf)
          – sebasth
          Oct 16 '17 at 14:11












          I've done apt-get update/upgrade. According to Samba wiki, the recommended Linux kernel SMB3 support is kernel version 3.18 or later (or equivalent, ie cifs module version 2.04 or later). I've checked cifs via modinfo cifs, I have 2.06. I've checked kernel version via uname -a, I have 4.1.19, and cat /etc/debian_version is 7.11. The Pi should support a better samba, any ideas why not?
          – Phi
          Oct 16 '17 at 14:26





          I've done apt-get update/upgrade. According to Samba wiki, the recommended Linux kernel SMB3 support is kernel version 3.18 or later (or equivalent, ie cifs module version 2.04 or later). I've checked cifs via modinfo cifs, I have 2.06. I've checked kernel version via uname -a, I have 4.1.19, and cat /etc/debian_version is 7.11. The Pi should support a better samba, any ideas why not?
          – Phi
          Oct 16 '17 at 14:26













          cifs module is for kernel client, not server which is userspace. For SMB3 you need Samba 4.0.0 or later.
          – sebasth
          Oct 16 '17 at 14:43




          cifs module is for kernel client, not server which is userspace. For SMB3 you need Samba 4.0.0 or later.
          – sebasth
          Oct 16 '17 at 14:43

















           

          draft saved


          draft discarded















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f398404%2fhow-to-force-samba-to-use-smb-3-0%23new-answer', 'question_page');

          );

          Post as a guest













































































          Popular posts from this blog

          Peggy Mitchell

          Palaiologos

          The Forum (Inglewood, California)