Posts: 59
Joined: Aug 2009
Reputation:
0
2016-12-08, 22:18
(This post was last modified: 2016-12-09, 19:52 by Questionario.)
Hi,
for some reason I cannot connect to SMB shares I have from a windows server 2016, I can access these shares fine from any other PC and kodi can access smb shares on my windows 7 host but even though I entered username and password for the share, event log on the server shows that kodi still tries logging in with a null user id.
enabling guest account (which is not enabled on the windows 7 host where it does work) does not work either...
any clue why this could be happening and how to fix it?
Posts: 7,648
Joined: Jun 2011
Reputation:
287
win10 and probably server 2016 disable SMBv1 by default, which is what kodi uses with it's built-in samba client.
You can re enable that on the server, but I'd suggest using samba mounts on the OS side instead of kodi's smb support.
Posts: 59
Joined: Aug 2009
Reputation:
0
2016-12-09, 19:52
(This post was last modified: 2016-12-09, 19:53 by Questionario.)
I went with your suggested option, used autofs for this.
Thanks a lot! ^^
EDIT: I guess obvious but I didn't mention that this was the solution and it now works!
Posts: 63
Joined: Jun 2012
Reputation:
0
I'm having this exact same problem. Specifically, how do I re-enable the SMBv1 ? What do I do? (I don't know how to use samba mounts)
I have Windows Server 2012 R2 on a Dell server. I can see the server on the workgroup, but when I click on it, I get the "Operation Not Permitted" error.
thanks!
KODI 16.1 on Odroid C2, Android OS, Roku Clients w/ Plex, Dell R710 Rack Server w/ 40TB storage
Posts: 331
Joined: Jun 2014
Reputation:
2
I have SMB 1.0 re enabled on my HTPC, but all Android devices get "Operation not permitted" if I try to connect to the share. If I do the exact same thing from a Windows machine, all is fine.
Posts: 331
Joined: Jun 2014
Reputation:
2
Not sure if this is the same issue, but I was able to fix it by creating a new account on my Windows PC, but this time no Microsoft account, just a local account. Provided that account administrator rights and voila... everything was up and running. Got the error for a few more times and then it was good.
Posts: 44
Joined: Mar 2007
Reputation:
1
dexx
Junior Member
Posts: 44
Is it possible for Kodi to handle SMB versions 2 or 3 without OS support? Or is that something that needs to be in place by the OS (Openelec, Libreelec, Coreelec, etc)?
It would be unfortunate if Kodi can only handle SMB v1 in 2019
Posts: 4,498
Joined: Jan 2011
Reputation:
150
DaVu
Team-Kodi Member
Posts: 4,498
As there's no libsmb for Kodi core, SMB supports depends on the underlying OS.
Posts: 44
Joined: Mar 2007
Reputation:
1
dexx
Junior Member
Posts: 44
In coreelec my workaround is to use /storage/.config/system.d/cifs.mount.sample
Posts: 331
Joined: Jun 2014
Reputation:
2
True, that is not secure. And thanks for the reminder. I will throw the user out as I have moved the Mi Box from living room to the bedroom. In the bedroom I only need access to Netflix and my PVR on Kodi. In the living room I'm back at (and will stick with) Windows. Too much hassle with Android
Posts: 350
Joined: Jun 2013
Reputation:
7
FWIW... I created a read-only user to my media store then used various commands to connect and browse as that user from another platform, checking logfiles until I got it working - then added those credentials into Kodi.
(where ARE logfiles in Windows - does the Event Viewer show this information?)