Broken SMB connection to OSX
#1
Hi,

I have a osx computer which is sharing Media through SMB. Kodi (v17 / v18 alpha v3) are not able to connect to the share anymore as from osx version 10.13.6

The following setup is not working.

Media is stored on an SMB share on an OSX machine running 10.13.6
Media can be accessed from different machines running Kodi (17.6) using a database setup (MySQL, the database holds the path to the smb share)

Kodi on android --> not working
Kodi on ios --> not working
Kodi on osx  --> not working (kodi is running on different machine than the fileserver)


The only setup working is kodi on windows. I am assuming there is some incompatiblity with smbclient library.

Please note that I can access the share using the functionality of the native OS.





See also post for more details:
https://forum.kodi.tv/showthread.php?tid=331420
Reply
#2
I have done some additional testing on ios. I have installed the latest VLC player (3.1.1 based on 3.0.4). With this application I can access the smb shares on the osx server.

So I am assuming that VLC is using a more modern smbclinet and that kodi is using an old version of the  libsmbclient.

Can someone please confirm this ?
Reply
#3
Kodi v17 uses a libsmbclient version which only supports SMB1. v18 supports SMB1, 2 and 3.
Reply
#4
Hi,

Thanks for your reply. I had given up hope on an answer. 
As I mentioned in my post I also did a test with the latest alpha build (not the nightlies) on an osx client. But this didn't solve the issue. I found the option in the menu where you can specify the smb protocol to use.

I have the impression that the problem surfaced with the latest OSX patch 10.13.6. I just wonder if kodi uses the latest version of the libsmbclient or some older version.

Thanks for you insight.

Joost
Reply
#5
Kodi v18 still uses an old version of libsmbclient, namely 4.1.23. The reason why it isn't updated further is, they changed their build system and the new one is a pain for cross compiling.
Reply
#6
Ok thanks for the information. Do you know if the team intends to move to an more recent version of the client (and I should have  patience) or will this be the final version kodi will support (which would be a pitty).

One final question is there an easy way how I can see which version of the client software is used in a particular build.
Reply

Logout Mark Read Team Forum Stats Members Help
SMB connection to OSX0