How to force Samba to use SMB 3.0?

Clash 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?
security configuration samba smb
add a comment |Â
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?
security configuration samba smb
add a comment |Â
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?
security configuration samba smb
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?
security configuration samba smb
edited Oct 16 '17 at 13:25
Jeff Schaller
32.1k849109
32.1k849109
asked Oct 16 '17 at 12:44
Phi
814
814
add a comment |Â
add a comment |Â
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.
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 doneapt-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 viauname -a, I have 4.1.19, andcat /etc/debian_versionis 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
 |Â
show 1 more comment
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.
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 doneapt-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 viauname -a, I have 4.1.19, andcat /etc/debian_versionis 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
 |Â
show 1 more comment
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.
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 doneapt-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 viauname -a, I have 4.1.19, andcat /etc/debian_versionis 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
 |Â
show 1 more comment
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.
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.
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 doneapt-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 viauname -a, I have 4.1.19, andcat /etc/debian_versionis 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
 |Â
show 1 more comment
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 doneapt-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 viauname -a, I have 4.1.19, andcat /etc/debian_versionis 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
 |Â
show 1 more comment
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password