Feature Request - SMB2 support

  Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
baudav Offline
Junior Member
Posts: 14
Joined: May 2017
Reputation: 0
Lightbulb  SMB2 support
Post: #1
Hi,
can you add SMB2 (and SMB3) support? with option to not use the very old CIFS/SMB1.
find quote
Rechi Offline
Team-Kodi Member
Posts: 337
Joined: Feb 2015
Reputation: 4
Location: Austria
Post: #2
What OS are you using?
find quote
baudav Offline
Junior Member
Posts: 14
Joined: May 2017
Reputation: 0
Post: #3
Android 5, Android 6
find quote
Rechi Offline
Team-Kodi Member
Posts: 337
Joined: Feb 2015
Reputation: 4
Location: Austria
Post: #4
SMB2 support was first added in samba 4.1, but we are currently not able to compile this or a newer version.
find quote
baudav Offline
Junior Member
Posts: 14
Joined: May 2017
Reputation: 0
Post: #5
I not know how make 'ES Explorateur de fichier' on Android to add SMB2 support, but it's work.
find quote
baudav Offline
Junior Member
Posts: 14
Joined: May 2017
Reputation: 0
Post: #6
X-plore can access to SMB2 from android;
Today my NAS still has to do with SMB1 only because of KODI.
SMB2 is better for HD, 4K video

help for SMB2, 3 (just help, because not work for me)
https://github.com/google/samba-documents-provider
https://play.google.com/store/apps/detai...tsprovider
find quote
Rechi Offline
Team-Kodi Member
Posts: 337
Joined: Feb 2015
Reputation: 4
Location: Austria
Post: #7
Kodi v18 will have SMB2 and SMB3 support as Samba was update to 4.1.23. You can already use it with a nightly build.
find quote
baudav Offline
Junior Member
Posts: 14
Joined: May 2017
Reputation: 0
Post: #8
tested v18 nightly: but SMB can't be used ,now, to see HD video (and same with smb1). The flow rate is very low. Switched to NFS to see video.
Hoping that it is not final, and that there are possible improvements.
find quote
Rechi Offline
Team-Kodi Member
Posts: 337
Joined: Feb 2015
Reputation: 4
Location: Austria
Post: #9
(2017-08-14 13:27)baudav Wrote:  tested v18 nightly: but SMB can't be used ,now, to see HD video (and same with smb1). The flow rate is very low. Switched to NFS to see video.
Hoping that it is not final, and that there are possible improvements.

Post a Debug log (wiki), or it may never get fixed.
find quote
baudav Offline
Junior Member
Posts: 14
Joined: May 2017
Reputation: 0
Post: #10
https://paste.ubuntu.com/25319459/
test with SMB1 limited server with video file x264 2.2GB through wifi AC @400Mbps (this is regression; work before and just updated kodi)

same with SMB3, But I encountered other problems during the test.. Kodi use 75%CPU and old video (Xvid/mp3) never start.. and sent log not work! error.. and more 60sec to exit KODI
If necessary I redo a log in SMB3
find quote
baudav Offline
Junior Member
Posts: 14
Joined: May 2017
Reputation: 0
Post: #11
Kodi logfile uploader return after more 2min just http://paste.ubuntu.com/ ; I deleted all log and make same test but with SMB3 (same result)

https://paste.ubuntu.com/25320032/
find quote