I installed new kernel 4.17.4 yesterday, and I can’t use connectshares to mount my NAS anymore.
Jul 10 13:49:27 antiX kernel: [62324.004424] 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.
New kernel force smb 2, 2.1 or 3 but I don’t know where can I force well version of SMB to use or force connectshares and/or my NAS (D-LINK) to use new protocol version.
Thx for watching !
Edit: I have found a temporaly solution (force old version of smb without connectshares)
#If smb's version isn't correct
$- sudo mount -t cifs //192.168.1.x/dossier_partagé/ /mnt/NAS/ --verbose -o credentials=/home/user/NAS,vers=1.0
#/etc/fstab pour montage auto
//192.168.1.x/dossier_partagé /mnt/NAS/ cifs vers=1.0,credentials=/home/user/.smbcredentials,iocharset=utf8 0 0
#create an hide credentials files (.smbcredentials)
-> password = blabla
$-chmod 600 .smbcredentials
This topic was modified 1 year, 10 months ago by Ayzak.