SMB 2 or 3 with SAMBA version 4.3.11
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
up vote
0
down vote
favorite
With the new windows update killing support for SMB 1, I'm attempting to force my ubuntu (desktop version) server to use SMB 2 or 3. I've been around and it says to change the min protocol and max protocol settings in the smb.conf, but those options don't seem to exist. any ideas? I'm using Ubuntu Desktop 16.04 LTS.
networking samba smb
add a comment |Â
up vote
0
down vote
favorite
With the new windows update killing support for SMB 1, I'm attempting to force my ubuntu (desktop version) server to use SMB 2 or 3. I've been around and it says to change the min protocol and max protocol settings in the smb.conf, but those options don't seem to exist. any ideas? I'm using Ubuntu Desktop 16.04 LTS.
networking samba smb
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
With the new windows update killing support for SMB 1, I'm attempting to force my ubuntu (desktop version) server to use SMB 2 or 3. I've been around and it says to change the min protocol and max protocol settings in the smb.conf, but those options don't seem to exist. any ideas? I'm using Ubuntu Desktop 16.04 LTS.
networking samba smb
With the new windows update killing support for SMB 1, I'm attempting to force my ubuntu (desktop version) server to use SMB 2 or 3. I've been around and it says to change the min protocol and max protocol settings in the smb.conf, but those options don't seem to exist. any ideas? I'm using Ubuntu Desktop 16.04 LTS.
networking samba smb
networking samba smb
asked Feb 24 at 22:46
Daniel
1011
1011
add a comment |Â
add a comment |Â
3 Answers
3
active
oldest
votes
up vote
1
down vote
The exact settings are:
- client min protocol
- client max protocol
Then you should configure your /etc/samba/smb.conf with the following commands on [GLOBAL] section
[GLOBAL]
client min protocol = SMB2
client max protocol = SMB3
after that you should restart smb service as root:
# systemctl restart smb
# systemctl restart nmd
man smb.conf for more details
how do I access the [GLOBAL] section from the command line?
â Daniel
Feb 25 at 4:35
--option=<name>=<value> man smbd for details. Anyway to configure smb.conf you must edit the file with vim or nano The [GLOBAL] sectin is at the beginning of the file.
â MysticDog
Feb 25 at 15:47
The issue I'm having is even open in vim, the client min/max protocol settings simply aren't there. At the top of the page, it says "Samba has a huge number of configurable options most of which are not shown in this example."
â Daniel
Feb 26 at 0:48
the lines that begin with # are comments. If the "client min protocol" is not there you have to add it. As I said you have to open /etc/samba/smb.conf with vim and go under [GLOBAL] section and there add the client min/max protocol configuration. Then restart the service.
â MysticDog
Feb 26 at 17:21
Okay, I've added the commands. with smbstatus, it shows my username and says SMB3_02 under protocol version. I am still unable to access the server from my windows PC. I'm assuming at this point, it's no longer an Ubuntu issue, correct?
â Daniel
Feb 26 at 19:30
 |Â
show 9 more comments
up vote
0
down vote
If you are mounting your shares through fstab
on the client, then include vers=3.0
as an option after cifs
and that will set up a SMB 3.0 connection.
When I tried to up the min protocols on the server, many of my clients could not connect. I had better luck setting the version number on the client side. (I am still learning this myself.)
add a comment |Â
up vote
0
down vote
2 different min/max protocols.
When a client machine to your Ubuntu server accesses your machine it will negotiate which smb dialect to use between two settings on the server: server min protocol and server max protocol. By default those settings are lanman1 and SMB3. If your client machine does not want to access your machine using smb1 it can go all the way up to SMB3 without changing anything on the server.
client min / max protocol is for Ubuntu connecting to another server and changing it did nothing relative to this question.
Something else appears to be a problem with your one client.
add a comment |Â
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
The exact settings are:
- client min protocol
- client max protocol
Then you should configure your /etc/samba/smb.conf with the following commands on [GLOBAL] section
[GLOBAL]
client min protocol = SMB2
client max protocol = SMB3
after that you should restart smb service as root:
# systemctl restart smb
# systemctl restart nmd
man smb.conf for more details
how do I access the [GLOBAL] section from the command line?
â Daniel
Feb 25 at 4:35
--option=<name>=<value> man smbd for details. Anyway to configure smb.conf you must edit the file with vim or nano The [GLOBAL] sectin is at the beginning of the file.
â MysticDog
Feb 25 at 15:47
The issue I'm having is even open in vim, the client min/max protocol settings simply aren't there. At the top of the page, it says "Samba has a huge number of configurable options most of which are not shown in this example."
â Daniel
Feb 26 at 0:48
the lines that begin with # are comments. If the "client min protocol" is not there you have to add it. As I said you have to open /etc/samba/smb.conf with vim and go under [GLOBAL] section and there add the client min/max protocol configuration. Then restart the service.
â MysticDog
Feb 26 at 17:21
Okay, I've added the commands. with smbstatus, it shows my username and says SMB3_02 under protocol version. I am still unable to access the server from my windows PC. I'm assuming at this point, it's no longer an Ubuntu issue, correct?
â Daniel
Feb 26 at 19:30
 |Â
show 9 more comments
up vote
1
down vote
The exact settings are:
- client min protocol
- client max protocol
Then you should configure your /etc/samba/smb.conf with the following commands on [GLOBAL] section
[GLOBAL]
client min protocol = SMB2
client max protocol = SMB3
after that you should restart smb service as root:
# systemctl restart smb
# systemctl restart nmd
man smb.conf for more details
how do I access the [GLOBAL] section from the command line?
â Daniel
Feb 25 at 4:35
--option=<name>=<value> man smbd for details. Anyway to configure smb.conf you must edit the file with vim or nano The [GLOBAL] sectin is at the beginning of the file.
â MysticDog
Feb 25 at 15:47
The issue I'm having is even open in vim, the client min/max protocol settings simply aren't there. At the top of the page, it says "Samba has a huge number of configurable options most of which are not shown in this example."
â Daniel
Feb 26 at 0:48
the lines that begin with # are comments. If the "client min protocol" is not there you have to add it. As I said you have to open /etc/samba/smb.conf with vim and go under [GLOBAL] section and there add the client min/max protocol configuration. Then restart the service.
â MysticDog
Feb 26 at 17:21
Okay, I've added the commands. with smbstatus, it shows my username and says SMB3_02 under protocol version. I am still unable to access the server from my windows PC. I'm assuming at this point, it's no longer an Ubuntu issue, correct?
â Daniel
Feb 26 at 19:30
 |Â
show 9 more comments
up vote
1
down vote
up vote
1
down vote
The exact settings are:
- client min protocol
- client max protocol
Then you should configure your /etc/samba/smb.conf with the following commands on [GLOBAL] section
[GLOBAL]
client min protocol = SMB2
client max protocol = SMB3
after that you should restart smb service as root:
# systemctl restart smb
# systemctl restart nmd
man smb.conf for more details
The exact settings are:
- client min protocol
- client max protocol
Then you should configure your /etc/samba/smb.conf with the following commands on [GLOBAL] section
[GLOBAL]
client min protocol = SMB2
client max protocol = SMB3
after that you should restart smb service as root:
# systemctl restart smb
# systemctl restart nmd
man smb.conf for more details
answered Feb 25 at 2:05
MysticDog
283
283
how do I access the [GLOBAL] section from the command line?
â Daniel
Feb 25 at 4:35
--option=<name>=<value> man smbd for details. Anyway to configure smb.conf you must edit the file with vim or nano The [GLOBAL] sectin is at the beginning of the file.
â MysticDog
Feb 25 at 15:47
The issue I'm having is even open in vim, the client min/max protocol settings simply aren't there. At the top of the page, it says "Samba has a huge number of configurable options most of which are not shown in this example."
â Daniel
Feb 26 at 0:48
the lines that begin with # are comments. If the "client min protocol" is not there you have to add it. As I said you have to open /etc/samba/smb.conf with vim and go under [GLOBAL] section and there add the client min/max protocol configuration. Then restart the service.
â MysticDog
Feb 26 at 17:21
Okay, I've added the commands. with smbstatus, it shows my username and says SMB3_02 under protocol version. I am still unable to access the server from my windows PC. I'm assuming at this point, it's no longer an Ubuntu issue, correct?
â Daniel
Feb 26 at 19:30
 |Â
show 9 more comments
how do I access the [GLOBAL] section from the command line?
â Daniel
Feb 25 at 4:35
--option=<name>=<value> man smbd for details. Anyway to configure smb.conf you must edit the file with vim or nano The [GLOBAL] sectin is at the beginning of the file.
â MysticDog
Feb 25 at 15:47
The issue I'm having is even open in vim, the client min/max protocol settings simply aren't there. At the top of the page, it says "Samba has a huge number of configurable options most of which are not shown in this example."
â Daniel
Feb 26 at 0:48
the lines that begin with # are comments. If the "client min protocol" is not there you have to add it. As I said you have to open /etc/samba/smb.conf with vim and go under [GLOBAL] section and there add the client min/max protocol configuration. Then restart the service.
â MysticDog
Feb 26 at 17:21
Okay, I've added the commands. with smbstatus, it shows my username and says SMB3_02 under protocol version. I am still unable to access the server from my windows PC. I'm assuming at this point, it's no longer an Ubuntu issue, correct?
â Daniel
Feb 26 at 19:30
how do I access the [GLOBAL] section from the command line?
â Daniel
Feb 25 at 4:35
how do I access the [GLOBAL] section from the command line?
â Daniel
Feb 25 at 4:35
--option=<name>=<value> man smbd for details. Anyway to configure smb.conf you must edit the file with vim or nano The [GLOBAL] sectin is at the beginning of the file.
â MysticDog
Feb 25 at 15:47
--option=<name>=<value> man smbd for details. Anyway to configure smb.conf you must edit the file with vim or nano The [GLOBAL] sectin is at the beginning of the file.
â MysticDog
Feb 25 at 15:47
The issue I'm having is even open in vim, the client min/max protocol settings simply aren't there. At the top of the page, it says "Samba has a huge number of configurable options most of which are not shown in this example."
â Daniel
Feb 26 at 0:48
The issue I'm having is even open in vim, the client min/max protocol settings simply aren't there. At the top of the page, it says "Samba has a huge number of configurable options most of which are not shown in this example."
â Daniel
Feb 26 at 0:48
the lines that begin with # are comments. If the "client min protocol" is not there you have to add it. As I said you have to open /etc/samba/smb.conf with vim and go under [GLOBAL] section and there add the client min/max protocol configuration. Then restart the service.
â MysticDog
Feb 26 at 17:21
the lines that begin with # are comments. If the "client min protocol" is not there you have to add it. As I said you have to open /etc/samba/smb.conf with vim and go under [GLOBAL] section and there add the client min/max protocol configuration. Then restart the service.
â MysticDog
Feb 26 at 17:21
Okay, I've added the commands. with smbstatus, it shows my username and says SMB3_02 under protocol version. I am still unable to access the server from my windows PC. I'm assuming at this point, it's no longer an Ubuntu issue, correct?
â Daniel
Feb 26 at 19:30
Okay, I've added the commands. with smbstatus, it shows my username and says SMB3_02 under protocol version. I am still unable to access the server from my windows PC. I'm assuming at this point, it's no longer an Ubuntu issue, correct?
â Daniel
Feb 26 at 19:30
 |Â
show 9 more comments
up vote
0
down vote
If you are mounting your shares through fstab
on the client, then include vers=3.0
as an option after cifs
and that will set up a SMB 3.0 connection.
When I tried to up the min protocols on the server, many of my clients could not connect. I had better luck setting the version number on the client side. (I am still learning this myself.)
add a comment |Â
up vote
0
down vote
If you are mounting your shares through fstab
on the client, then include vers=3.0
as an option after cifs
and that will set up a SMB 3.0 connection.
When I tried to up the min protocols on the server, many of my clients could not connect. I had better luck setting the version number on the client side. (I am still learning this myself.)
add a comment |Â
up vote
0
down vote
up vote
0
down vote
If you are mounting your shares through fstab
on the client, then include vers=3.0
as an option after cifs
and that will set up a SMB 3.0 connection.
When I tried to up the min protocols on the server, many of my clients could not connect. I had better luck setting the version number on the client side. (I am still learning this myself.)
If you are mounting your shares through fstab
on the client, then include vers=3.0
as an option after cifs
and that will set up a SMB 3.0 connection.
When I tried to up the min protocols on the server, many of my clients could not connect. I had better luck setting the version number on the client side. (I am still learning this myself.)
answered Feb 25 at 2:37
![](https://i.stack.imgur.com/DbsU5.jpg?s=32&g=1)
![](https://i.stack.imgur.com/DbsU5.jpg?s=32&g=1)
Organic Marble
9,96963255
9,96963255
add a comment |Â
add a comment |Â
up vote
0
down vote
2 different min/max protocols.
When a client machine to your Ubuntu server accesses your machine it will negotiate which smb dialect to use between two settings on the server: server min protocol and server max protocol. By default those settings are lanman1 and SMB3. If your client machine does not want to access your machine using smb1 it can go all the way up to SMB3 without changing anything on the server.
client min / max protocol is for Ubuntu connecting to another server and changing it did nothing relative to this question.
Something else appears to be a problem with your one client.
add a comment |Â
up vote
0
down vote
2 different min/max protocols.
When a client machine to your Ubuntu server accesses your machine it will negotiate which smb dialect to use between two settings on the server: server min protocol and server max protocol. By default those settings are lanman1 and SMB3. If your client machine does not want to access your machine using smb1 it can go all the way up to SMB3 without changing anything on the server.
client min / max protocol is for Ubuntu connecting to another server and changing it did nothing relative to this question.
Something else appears to be a problem with your one client.
add a comment |Â
up vote
0
down vote
up vote
0
down vote
2 different min/max protocols.
When a client machine to your Ubuntu server accesses your machine it will negotiate which smb dialect to use between two settings on the server: server min protocol and server max protocol. By default those settings are lanman1 and SMB3. If your client machine does not want to access your machine using smb1 it can go all the way up to SMB3 without changing anything on the server.
client min / max protocol is for Ubuntu connecting to another server and changing it did nothing relative to this question.
Something else appears to be a problem with your one client.
2 different min/max protocols.
When a client machine to your Ubuntu server accesses your machine it will negotiate which smb dialect to use between two settings on the server: server min protocol and server max protocol. By default those settings are lanman1 and SMB3. If your client machine does not want to access your machine using smb1 it can go all the way up to SMB3 without changing anything on the server.
client min / max protocol is for Ubuntu connecting to another server and changing it did nothing relative to this question.
Something else appears to be a problem with your one client.
answered Feb 26 at 19:57
Morbius1
89626
89626
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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%2faskubuntu.com%2fquestions%2f1009455%2fsmb-2-or-3-with-samba-version-4-3-11%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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