For a fairly fresh windows 11 / server 2022 and later on,
The working solution for a "universal samba share access" is as following:
(Be careful, this will reduce the security of the local network. Not directly risky, but reduced by MS standard)
1, The normal network share settings, private, public all goes, change to 40-56 bit, and password protected off;
2, Samba 1.0 in features adding from the windows features;
3, gpedit.msc, Computer Configuration > Administrative Templates > Network > Lanman Workstation > Enable insecure guest logon;
4, gpedit.msc Computer Configuration\Windows Settings\Security Settings\Local Policies\Security Options\Network security: LAN Manager authentication level;
5, gpedit.msc Computer Configuration\Windows Settings\Security Settings\Local Policies\Security Options\Microsoft network client: Digitally sign communications (always) Disabled;
After these, your computer can pretty much access any "network shares" made by whatever (windows 7, linux, nas etc.etc.)
If still fails, you must have lower-level network issues, like no network, wrong IP or firewall block etc.