Help request - SMB and autostart.sh

  • Hi all,

    I have lost the ability to map to my SMB share via autostart.sh after the 8.1.2 release. I have read the release notes, but I'm missing something, I'm too dumb, or both.

    Autostart.sh returns a message saying host is down. The autostart.sh contains:

    Bash
    #!/bin/sh
    (sleep 5;
    mount -t cifs -o username=username,password=password //ipaddress/Public/Complete/TV /storage/TV;
    )&
    The share is on a seagate central drive. I have adjusted the SMB min and max in libreelec to be 1 and 3 respectively.

    I havent made any changes to samba.conf.sample, do i need to?

    Thanks in advance.

  • I'd guess "adjusting the version in LibreELEC" either changed the Samba server or the Kodi SMB client; neither of which have anything to do with kernel level CIFS mounts. In 8.1.2 the kernel defaults to SMB2 connections so you need to add vers=1.0 to the mount command to force SMB1 mounting.