Mojave SMB file sharing authentication issues
The answer was here: https://support.apple.com/en-us/HT204021

If you use Directory Utility on the client to have an authenticated binding between the client machine and the server Open Directory, you can mount SMB shares.

There are other workarounds which are either less secure or have poor performance on writing. See the linked support article.