1. You have to get the port right (It's 445, not 139, on any current OS)
2. You have to specify the actual folder that it goes into (Assuming SMB)
3. And you have to also format the username properly, which is simple to find on the share itself.
The username formatting is taken from here specifically
If it still fails after that is confirmed/done, you would need to update the firmware, which you can grab here
And if it still fails after that, you will probably need to give up on SMB and switch to FTP, because the 57XX MFP doesn't support SMB2 or SMB3.