Android Cannot access SMB shares on Windows 10
#31
(2018-10-13, 21:26)Milhouse Wrote:
(2018-10-13, 20:47)fredphoesh Wrote: Thanks, but I tried that and "Connection timed out" after about 1 second...
So frustrating.

Your Windows 10 PC no longer supports SMB1 - you may be able to re-enable SMB1 support in Windows 10, but there are good reasons why Microsoft are disabling SMB1 support so it's not something I'd recommend. Running an NFS server on Windows 10 is possible and would avoid the problems wth SMB.
For Gods sake listen to this man.

And the other VERY good suggestion is use Android Kodi Leia Beta with its included SMB 2/3 support, there is even an Android Installer Kodi Addon to easily upgrade the the very latest Leia nightlies, built into Kodi itself.

OR use LibreELEC Kodi Krypton.

Reply
#32
(2018-10-17, 17:10)fredphoesh Wrote:
(2018-10-17, 17:03)calexicoca Wrote: I can confirm (after 3 days full time working on googling solution) THE ONLY OPTION which works is installing Leila and setting SMB client in configuration (at least on Android box). So don't waist any more time by trying finding other solutions because believe you me - THEY DON'T WORK.
By that do you mean simply setting up the SMB on kodi file manager, or somewhere else? File manager doesn't work with SMB for me. When you say ONLY OPTION, what about NFS? (which I haven't had success with either as I don't understand what I have to do other than to enable it in win10)
Tx
Mark. 
I had no problem with NFS, only SMB. When I said only option that was the only option for SMB (which is the topic of this thread, isn't it). Kodi v17 did not have option to set version of SMB and v3 was default which you could not change. In Leila you have that option, therefore no problem with connecting with SMB shares. IF you have problem seeing NFS that is not the topic of discussion in this thread.
Reply
#33
(2018-10-18, 13:24)calexicoca Wrote: When I said only option that was the only option for SMB (which is the topic of this thread, isn't it). Kodi v17 did not have option to set version of SMB and v3 was default which you could not change.

With Kodi 17 you can add the following to .kodi/.smb/user.conf:

client min protocol = SMB2
client max protocol = SMB3

However whether this will work depends entirely on the underlying OS and whether the Samba library provided with the OS supports SMB2 and/or SMB3. I've no idea what version of Samba is shipped with Android these days, but in the past it was a version that supported only SMB1. If your version of Samba doesn't recognise SMB2 or SMB3 protocols then it will just ignore the above settings (if SMB3 isn't recognised then maybe SMB2/SMB2 will work).

If you don't see the Samba client options in Kodi 17 on Android then presumably it's because at the time of the Kodi 17 release most Android installations supported only SMB1 (NT1 is the technically correct protocol name for SMB1) and providing SMB2/SMB3 options would have been pointless and/or confusing.

And unless the Android Kodi packager changed the default Kodi 17 Samba configuration, the default is to *not* configure a specific client max protocol and instead rely on the Samba library to negotiate the client max protocol (prior to Samba 4.8 this would mean only ever negotiating NT1, but with 4.8+ the Samba library will finally negotiate the highest protocol supported by both client and server, so ideally SMB3).
Texture Cache Maintenance Utility: Preload your texture cache for optimal UI performance. Remotely manage media libraries. Purge unused artwork to free up space. Find missing media. Configurable QA check to highlight metadata issues. Aid in diagnosis of library and cache related problems.
Reply
#34
Thanks for this. I will try to my another machine
Reply
#35
Just to confirm:

Had Kodi 17.6 on my htpc. Couldnt access SMB neither through browsing or adding manually computername or ip. Got Windows 10 and tried all registermod I could find any nothing helped. Removed all registermods and downgraded to Kodi 16.1. Voila! Browsing smb works directly. Dont see a point in Kodi 17 since I only gonna use it for 1080-movies and it has worked fine since Kodi 14.
Reply
#36
(2017-02-18, 20:58)itproman Wrote: I have the same problem.

I installed Kodi 17 on my Smart TV,but cannot add shares from my Windows 10 PC'.
I have been able to set up Weather,some official addons,but that's all.

I googled the problem and looked through some of the forum discussions and even tried chaning a few settings on the Windows PC,but,it still won't work;won't even show the folders beoyond "users" in fact.

Thankfully,I access the Windows Folders using Plex,so all is not lost.
Hello,

I tried all methods that mentioned above, but the finally solution is such easy, at least for me.

I come to share my solution.

Did you use a USB Hub to connect your hard driver? Tongue LoL
Reply
#37
(2019-05-03, 12:31)colingpt Wrote:
(2017-02-18, 20:58)itproman Wrote: I have the same problem.

I installed Kodi 17 on my Smart TV,but cannot add shares from my Windows 10 PC'.
I have been able to set up Weather,some official addons,but that's all.

I googled the problem and looked through some of the forum discussions and even tried chaning a few settings on the Windows PC,but,it still won't work;won't even show the folders beoyond "users" in fact.

Thankfully,I access the Windows Folders using Plex,so all is not lost.
Hello,

I tried all methods that mentioned above, but the finally solution is such easy, at least for me.

I come to share my solution.

Did you use a USB Hub to connect your hard driver? Tongue LoL 
Hi,

How does a USB hub make a difference?
Reply
#38
It has more power than your shitty box, if it's powered.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#39
I don't understand why everyone wants to use the SMB method to access the files on the PC with Kodi.
I use the FTP method and it works great. You only need to install one FTP server on your PC, like FileZilla server.
Reply
#40
(2018-06-09, 06:40)Dejabloo Wrote: I dont have a problem with moving away from SMB1, as soon as I find something that works.

So now I have installed Leia, but I am still having problems. I am getting an 'operation not permitted' msg. Do I need to do anything to turn on SMB2 support in Leia?

Same here, trying to get a SMB share added on 18.4 on an Android phone. Following this thread's various steps, I get "operation not permitted". I first tried adding SMB1 to the Windows 10 box and using legacy security, but that would time out when trying to access the share with the username and password. I double checked that I'm using the right username and password (Edit: see below). Now I'm trying with SMB2/3, manually adding the share as suggested, but I get "operation not permitted". I've also tried using the server's IP address rather than the server name, but that still doesn't work. I also checked .kodi/userdata/passwords.xml to make sure the information was correct. I also tried accessing a SMB share that does not have spaces in the path, and this gave me the same error, so that is also ruled out.

Edit: Nevermind. It looks like a Windows Update possibly changed the nature of the "Guest" account that I was using to login to the SMB share? That, or something related to this changed. I found that it was disabled under Computer Management, and enabling it fixed the problem. According to the following, the Guest account is now treated differently, not sure when this changed, but I should probably come up with a different account to handle this, anyway: https://www.howtogeek.com/280527/how-to-...indows-10/
Reply
 
Thread Rating:
  • 0 Vote(s) - 0 Average



Logout Mark Read Team Forum Stats Members Help
Cannot access SMB shares on Windows 1000