After update to Nethserver NG 7.6, mount doesn't mount external smb shares anymore


(Saito Benkei) #1

I had a Nethserver NG 7.5 that mounts an external smb share (on Nethserver NG 6.10).
This is made with a line in /etc/fstab:

//server/musica /mnt/musica     cifs    credentials=/root .smbcredentials,_netdev,nounix,noperm,file_mode=0777,dir_mode=0777,rw       0 0

After the update from Nethserver NG 7.5 to Nethserver NG 7.6 I’m not able to mount that smb share anymore.

I have this error in /var/log/messages

Jan  3 11:47:59 media kernel: No dialect specified on mount. Default has changed to a more secure dialect, SMB2.1 or later (e.g. SMB3), from CIFS (SMB1). To use the less secure SMB1 dialect to access old servers which do not support SMB3 (or SMB2.1) specify vers=1.0 on mount.
Jan  3 11:47:59 media kernel: CIFS VFS: cifs_mount failed w/return code = -112

so I add the vers=1.0 parameter to my /etc/fstab line

//server/musica /mnt/musica     cifs    credentials=/root/.smbcredentials,_netdev,nounix,noperm,file_mode=0777,dir_mode=0777,rw,vers=1.0        0 0

an now I can mount my external smb share again.

So pay attention

(I’m worried about automatic update on Enterprise version because I have some users that have to mount external smb shares to made backup of them…)


(Stéphane de Labrusse) #2

cc @davidep @giacomo to keep in touch


(Marc) #3

Follow up:


(Giacomo Sanchietti) #4

Everything is ready for testing!


(Giacomo Sanchietti) #5

Released.