matthuisman/docker-kodi-headless

Add SMB v2 or v3 as minimum to connect to Windows share

Rouzax opened this issue · 2 comments

Just installed and had issues connecting to my SMB share.
After editing the guisettings.xml and setting SMB minimum version, it worked.

    <setting id="smb.workgroup"></setting>
    <setting id="smb.winsserver" default="true">0.0.0.0</setting>
    <setting id="smb.minprotocol">3</setting>
    <setting id="smb.maxprotocol" default="true">3</setting>
    <setting id="smb.legacysecurity" default="true">false</setting>

Might be an idea to include this in the standard build

Aaarg, somehow now it doesn't work any more, and it keeps using SMB v1 instead of 2.
Not sure what I'm doing wrong 😄
EDIT:
Got it working again, and have updated the first post

https://github.com/matthuisman/docker-kodi-headless/blob/Matrix/root/defaults/guisettings.xml
I've gone with 2 as min

users can always overwrite this file with their own if need be