SMB still is alive and well, it's just the support for SMBv1 that's been increasing phased out due to it being considered a security risk. If possible, use a version of SAMBA capable of SMBv2 at least (3.6 and higher, preferably 4.0 up), which should work just fine with modern operating systems. SMBv2 was introduced with Windows Vista, so it's been a while. (Apparently SAMBA has been shipping with SMBv1 disabled by default since 4.11 in 2019.)
A potential issue is that NetBIOS discovery has been turned off with SMBv1 and SAMBA does not seem to implement its official replacement WSD, so the server may end up not being listed despite being very much accessible. Having a DNS server you can manually add entries to may prove helpful if you don't fancy accessing the server via its IP.