SMB version mandatory after Ubuntu upgrade?

Hello,

After upgrading my Ubuntu to 17.10, the CIFS-mount at boot fails with error (-22). In /var/log/kern.log, it says:

No dialect specified on mount. Default has changed to a more secure dialect, SMB3 (vers=3.0), from CIFS (SMB1). To use the less secure SMB1 dialect to access old servers which do not support SMB3 specify vers=1.0 on mount. For somewhat newer servers such as Windows 7 try vers=2.1.

By adding vers=1.0 to the mount-options, I got it to connect properly. But I would like to switch to SMB3 if that's possible.

Can someone help me? I'm using LEDE Reboot 17.01.4 and the samba36-server v.3.6.25-6 package.

Thank you,

FWieP

I have installed samba36-server - 3.6.25-6 on my wndr4700, it is working properly with ubuntu 16.04.2 LTS

It seems that LEDE's Samba does not (yet) support the SMB3 protocol. It does, however, support SMB2.

My solution for now, is to put SMB2 as minimum and maximum protocol supported in /etc/samba/smb.conf.template.

[global]
   ...
   min protocol = SMB2
   max protocol = SMB2

On my Ubuntu-client, I put the following in /etc/fstab:

//192.168.1.253/share   /home/fwiep/cifs-share cifs  vers=2.0 0       0       0

Issue solved.

FWieP