[Solve] new kernel & smb for connectshares

Forum Forums General Software [Solve] new kernel & smb for connectshares

  • This topic has 0 replies, 1 voice, and was last updated Jul 10-7:21 am by Ayzak.
Viewing 1 post (of 1 total)
  • Author
  • #11362

    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
    #manual solution:
    $- sudo mount -t cifs //192.168.1.x/dossier_partagé/ /mnt/NAS/ --verbose -o credentials=/home/user/NAS,vers=1.0
    #auto solution:
    #/etc/fstab pour montage auto
    #-> NAS
    //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) 
    $-nano ~/.smbcredentials
        -> username=blabla
        -> password = blabla
    $-chmod 600 .smbcredentials
    • This topic was modified 1 year, 10 months ago by Ayzak.
Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.