Allow symbolic links in SMB file sharing

Solution 1:

Disable file sharing in the macOS GUI, but do the config there. Launch the SMB server yourself with this setting:

sudo /usr/sbin/smbd -no-symlinks false

Some symlinks still might not work, but just recreating them with another name worked fine for me.