LE optimal samba conf

  • If i change min server from SMB1 to SMB2 or SMB3 in LE i always get the error:

    mount error(95): Operation not supported

    Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

  • Still no success with that option:

    #sudo mount -t cifs //192.168.1.3/videos ~/mnt -o username=xxx,password=xxx,sec=ntlm

    mount error(95): Operation not supported

    Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)


    --

    i googled a little and found this to be a common problem when changing samba server from SMB1 to more recent versions

    not LE's or QNAPS's samba specific :|

  • With older kernels you have to add vers=2.1 to the options - the default is 1.0 (aka SMB1) and thus you get the error(95) not supported.

    eg.

    Code
    mount -t cifs -o vers=2.1,username=xxx,password=xxx //xbmc.lan/MyBookHias/ /mnt/temp/

    so long,

    Hias