/How to Enable SMB2 on Samba 3.6

How to Enable SMB2 on Samba 3.6

We have a user who reported that he could not connect to a Samba server, because the client does not allow smb1 connection. The Samba server is running an older version of Samba. The smb2 is not enabled by default. In order to use smb2 connection, you have to enable it. I tried different configuration and finally I got it to work. The trick is simply adding this line in the global section of /etc/samba/smb.conf .

max protocol = smb2

After editing the file, remember to restart the smb service.

service smb restart