My goal is to be able to switch my Freebox Server Mini (r2) v4.4.0 from SMBv1 to SMBv2 (with password).
Current working setup of LibreELEC-RPi2.arm-9.2.6.img.gz with SBMv1: everything works as expected.
If I now switch the option SMBv2 in the Freebox/server interface, network share stop working. Current symptoms are:
2021-07-04 12:14:32.866 T:1937309712 DEBUG: ------ Window Init (DialogBusy.xml) ------
2021-07-04 12:14:33.790 T:1543594880 ERROR: SMBDirectory->GetDirectory: Unable to open directory : 'smb://USERNAME:PASSWORD@FREEBOX_SERVER/Freebox/musicvideo'
unix_err:'16' error : 'Invalid argument'
2021-07-04 12:14:33.790 T:1543594880 ERROR: GetDirectory - Error getting smb://USERNAME:PASSWORD@FREEBOX_SERVER/Freebox/musicvideo/
2021-07-04 12:14:33.790 T:1543594880 DEBUG: Thread waiting 1543594880 terminating
2021-07-04 12:14:33.790 T:1937309712 DEBUG: ------ Window Deinit (DialogBusy.xml) ------
2021-07-04 12:14:33.790 T:1937309712 DEBUG: ------ Window Init (DialogConfirm.xml) ------
2021-07-04 12:14:34.863 T:1603228544 DEBUG: PushCecKeypress - received key b duration 0 (rep:0 size:0)
2021-07-04 12:14:34.863 T:1603228544 DEBUG: PushCecKeypress - added key b
2021-07-04 12:14:34.893 T:1937309712 DEBUG: HandleKey: 11 (0x0b, obc244) pressed, action is Select
2021-07-04 12:14:34.939 T:1603228544 DEBUG: PushCecKeypress - received key b duration 76 (rep:0 size:0)
2021-07-04 12:14:34.939 T:1603228544 DEBUG: PushCecKeypress - ignored key b
2021-07-04 12:14:35.141 T:1937309712 DEBUG: ------ Window Deinit (DialogConfirm.xml) ------
2021-07-04 12:14:35.158 T:1937309712 ERROR: CGUIMediaWindow::GetDirectory(smb://USERNAME:PASSWORD@FREEBOX_SERVER/Freebox/musicvideo/) failed
2021-07-04 12:14:35.158 T:1937309712 DEBUG: CGUIMediaWindow::GetDirectory (sources://video/)
2021-07-04 12:14:35.158 T:1937309712 DEBUG: ParentPath = []
2021-07-04 12:14:35.159 T:1543594880 DEBUG: Thread waiting start, auto delete: false
2021-07-04 12:14:35.183 T:1543594880 DEBUG: Thread waiting 1543594880 terminating
2021-07-04 12:14:35.209 T:1543594880 DEBUG: Thread BackgroundLoader start, auto delete: false
2021-07-04 12:14:35.215 T:1937309712 DEBUG: ------ Window Init (DialogConfirm.xml) ------
Display More
If copy the file /storage/.kodi/userdata/sources.xml onto my amd64 main linux workstation, everything works as expected.
I am trying to understand what is the difference in SAMBA client implementation. I did read:
* LibreELEC (Krypton) 8.2.0 RELEASE – LibreELEC
But could not find any suggestion for my error. XML file is:
<sources>
[...]
<video>
<default pathversion="1"></default>
<source>
<name>dummy</name>
<path pathversion="1">smb://freebox:freebox@FREEBOX_SERVER/Freebox/musicvideo/</path>
<allowsharing>true</allowsharing>
</source>
[...]
Display More
Path is ASCII only. Freebox server seems to be using ksmbd:
* GitHub - namjaejeon/ksmbd: cifsd kernel server(SMB/CIFS server)
My question: what option should I turn on to get more diagnostics, and hopefully understand what is the root issue ?
Thanks
Reference: