Kodi 21. Is the SMB implementation buggy or is it just my system?



Hello!

I used Kodi and Windows shared folders (about 30 folders with video files) from my computer a couple years ago without any problems.
Then there was a break (lived in other country) and now I returned and upgraded to Kodi 21 Omega (same devices – Android TV, tablet and PC, same folders with no changes).
But I’ve run into a strange problem – most of the time I can’t open most of my SMB shared folders.

​I have always used a username and password for a Windows user specifically created for sharing.
I can open all shared folders from other Android apps and players (e.g. X-plore) and other devices without any problems, using these credentials.
But when I use Kodi I get an error “Invalid arguments”.
And what’s weird is that now this happens most of the time, but sometimes almost all folders start to open for a while (like 20 times) but then they won’t open again, except for a very few folders that are always the same.
I’ve tried renaming the problematic folders and giving them a different network name, but that doesn’t help.

In Computer Management I also noticed that Kodi starts continuously creating new session for that user with 0 opened files, and sometimes even hangs the Computer Manager.
This does not happen when browsing shared folders using other programs – there is always one session.
Also, by Windows defaults the system has a limit of 20 users per share.
Maybe it’s a coincidence, or maybe it’s the cause.
Also in Wireshark I see access errors when trying to enter these folders using Kodi (either from Android TV or tablet) and receiving “Invalid arguments” error.
If necessary, I will make a screenshot.
From the tablet sometimes I can’t even connect to PC using Kodi, but from TV version I can see folders, at least.