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.
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
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.)
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.