Hello people.
I recently tried changing some settings in my samba servers that resulted in me not being able to access my library anymore from Kodi.
In particular I believe the setting in question is min protocol = SMB2.
OSX Version 10.12.4
Platform Retina MacBook Pro Late 2014
Install Method dmg
Version of Kodi 17.1 Git:20170320-fc1619b
Detailed Instructions to Reproduce the Problem (The more specific the better.)
What I did was simply force the minimum protocol on the server to be SMB2, shares worked before the change and work again after this setting is commented out.
Below an excerpt of the debug log when trying to access a share with the option min protocol = SMB2
23:39:01.792 T:140736239993792 DEBUG: CGUIMediaWindow::GetDirectory (smb://RPI3/usbhdd/Movies/)
23:39:01.792 T:140736239993792 DEBUG: ParentPath = [sources://video/]
23:39:01.813 T:123145545314304 ERROR: SMBDirectory->GetDirectory: Unable to open directory : 'smb://USER:PASSWORD@RPI3/usbhdd/Movies'
unix_err:'3c' error : 'Operation timed out'
23:39:01.813 T:140736239993792 DEBUG: ------ Window Init (DialogConfirm.xml) ------
23:39:03.028 T:140736239993792 DEBUG: Keyboard: scancode: 0x24, sym: 0x000d, unicode: 0x000d, modifier: 0x0
23:39:03.111 T:140736239993792 DEBUG: OnKey: return (0xf00d) pressed, action is Select
23:39:03.111 T:140736239993792 DEBUG: Keyboard: scancode: 0x24, sym: 0x000d, unicode: 0x0000, modifier: 0x0
23:39:03.365 T:140736239993792 DEBUG: ------ Window Deinit (DialogConfirm.xml) ------
23:39:03.375 T:140736239993792 ERROR: GetDirectory - Error getting smb://RPI3/usbhdd/Movies/
23:39:03.383 T:140736239993792 ERROR: CGUIMediaWindow::GetDirectory(smb://RPI3/usbhdd/Movies/) failed
23:39:03.383 T:140736239993792 DEBUG: CGUIMediaWindow::GetDirectory (sources://video/)
23:39:03.383 T:140736239993792 DEBUG: ParentPath = []
23:39:03.391 T:123145527554048 DEBUG: Thread BackgroundLoader start, auto delete: false
23:39:03.392 T:140736239993792 DEBUG: ------ Window Init (DialogConfirm.xml) ------
23:39:03.424 T:123145527554048 DEBUG: Thread BackgroundLoader 123145527554048 terminating
But this isn’t reproduced on a server without this option enabled, below an example.
23:39:05.963 T:140736239993792 DEBUG: CGUIMediaWindow::GetDirectory (smb://DISKSTATION/video/TV Shows/)
23:39:05.963 T:140736239993792 DEBUG: ParentPath = [sources://video/]
23:39:06.464 T:140736239993792 DEBUG: ------ Window Init (DialogBusy.xml) ------
23:39:07.848 T:140736239993792 DEBUG: Saving fileitems [smb://DISKSTATION/video/TV Shows/]
23:39:07.849 T:140736239993792 DEBUG: -- items: 144, sort method: 0, ascending: true
23:39:07.920 T:140736239993792 DEBUG: RunQuery took 48 ms for 8 items query: SELECT * FROM tvshow_view WHERE idParentPath=11
23:39:07.924 T:123145528090624 DEBUG: Thread BackgroundLoader start, auto delete: false
23:39:07.928 T:140736239993792 DEBUG: Keyboard: scancode: 0x24, sym: 0x000d, unicode: 0x0000, modifier: 0x0
23:39:08.100 T:140736239993792 DEBUG: ------ Window Deinit (DialogBusy.xml) ------
23:39:08.480 T:123145563836416 DEBUG: Skin Helper Service --> Started Background worker...
Full Debug Log https://paste.ubuntu.com/24613541/
System hardware specs i5-4278U, 8GB of RAM.
I’m not sure this is intended behaviour. Could you please guide me to troubleshoot this?