Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

[SOLVED] Cannot connect to Samba shares
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Solved: Cannot connect to Samba shares
20th Nov, 2017, 12:39 AM
Post: #11
Don Pedro Offline
Registered
Posts: 51
Joined: Nov 2017
Reputation: 0
RE: Cannot connect to Samba shares
(16th Nov, 2017 11:27 PM)Nachteule Wrote:  Did you already tried this solution?

Just tested and my Kodi is using SMB3_00 protocol now

Unfortunately and contrary to my expectation this does not work for me! What I tried:
  • Inserted "client max protocol = SMB3" in /home/xbian/.smb/smb.conf, restarted Raspi
  • Additionally added "client min protocoll = SMB2" in /home/xbian/.smb/smb.conf, restarted Raspi
  • Did the same with /home/xbian/.smb/smb.conf, restarted Raspi
  • I found two more smb.conf, /usr/share/samba/smb.conf and /etc/samba/smb.conf, but from the content I concluded that these are used for the server configuration and I left them out
  • Tested temporarily to re-enable SMB V1 on one Linux machine and, whoops, no "Connection timeout" but I get a list of shares and the option to enter the logon credentials

So this is proof that the problem here is in fact that Kodi's smbclient does not use SMB V2 or higher but is stuck with SMB V1! From googling I could determine that this seems to be (or was?) a problem with Android, but not with a "regular" Linux distro - and xbian is "bleeding edge", isn't it? So this does not quite match what I'm seeing here, I'm on Raspberry which is of course Debian ARM, not Android. I'm wondering if there is a way to have Kodi's smbclient use SMB higher than V1. Maybe I should in fact ask this on the Kodi forum...

Additionally I will try to manually mount an SMB folder in fstab via the distro's smbclient/mount.cifs, maybe/hopefully this operates with SMB V2, I will report progress. Such a workaround would be acceptable for me, however IMHO Kodi should start supporting SMB V2 and up, as MS is in the progress of disabling the outdated SMB V1 in the aftermath of Wannacry - which absolutely makes sense, no blame on them.

BR

Don
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Messages In This Thread
Cannot connect to Samba shares - Don Pedro - 13th Nov, 2017, 05:31 AM
RE: Cannot connect to Samba shares - Skywatch - 14th Nov, 2017, 02:39 AM
RE: Cannot connect to Samba shares - Don Pedro - 14th Nov, 2017, 05:06 AM
RE: Cannot connect to Samba shares - Skywatch - 14th Nov, 2017, 06:49 AM
RE: Cannot connect to Samba shares - Don Pedro - 16th Nov, 2017, 07:49 AM
RE: Cannot connect to Samba shares - Nachteule - 16th Nov, 2017, 08:37 AM
RE: Cannot connect to Samba shares - Don Pedro - 16th Nov, 2017, 09:23 AM
RE: Cannot connect to Samba shares - Nachteule - 16th Nov, 2017, 11:27 PM
RE: Cannot connect to Samba shares - Don Pedro - 18th Nov, 2017, 09:16 AM
RE: Cannot connect to Samba shares - Don Pedro - 20th Nov, 2017 12:39 AM
RE: Cannot connect to Samba shares - Nachteule - 20th Nov, 2017, 03:44 AM
RE: Cannot connect to Samba shares - Don Pedro - 20th Nov, 2017, 08:51 AM
RE: Cannot connect to Samba shares - Don Pedro - 23rd Nov, 2017, 08:32 AM
RE: Cannot connect to Samba shares - Nachteule - 24th Nov, 2017, 01:27 AM
RE: Cannot connect to Samba shares - Don Pedro - 24th Nov, 2017, 08:02 AM
RE: Cannot connect to Samba shares - Nachteule - 24th Nov, 2017, 09:12 AM
RE: Cannot connect to Samba shares - Don Pedro - 27th Nov, 2017, 05:55 AM
RE: Cannot connect to Samba shares - Nachteule - 27th Nov, 2017, 06:50 AM
RE: Cannot connect to Samba shares - Don Pedro - 27th Nov, 2017, 07:34 AM
RE: Cannot connect to Samba shares - Nachteule - 14th Nov, 2017, 07:00 AM

  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 25th May, 2025, 05:21 AM Powered By MyBB, © 2002-2025 MyBB Group.