I'm having a similar problem: VLC won't remember my SMB username, password and workgroup. If I enter it, I can connect to my Windows 10 Samba shares but as soon as I close out and go back, the settings are lost. I wonder if the problem is actually NOT a connection issue but a settings-save issue... ...