matthuisman / docker-kodi-headless

A headless install of kodi in a docker container
GNU General Public License v3.0
136 stars 13 forks source link

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

Closed Rouzax closed 2 years ago

Rouzax commented 2 years ago

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

Rouzax commented 2 years ago

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

matthuisman commented 2 years ago

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