Had the same problem (-36), but found a way to get rid of it.
the origin of the problem seems to be file authorization, or
It was a bit of 'try on error', but here are the steps I made:
create a /etc/nsmb.conf
[default]
domain=[WORKGROUP]
minauth=none
and reboot system
Then I created a new user account on my Mac with username:password identical to the user on SMB server. The user must have all the permissions on the share to mount.
In this account I made a connection:
Finder, [apple]+K (Connect to Server pop-up) and made the connection
smb://[WORKGROUP];[username]@[SMB-SERVER]/[PUBLIC]
Fill here your stuff, in my case it was smb://WORKGROUP;beekw@ACACIA/PUBLIC
Added the password in the keychain. Notice that username is [WORKGROUP/username]
Since then the problem is gone, also on the other accounts on the Mac.
I have no idea why I had to create the user (without I still had the problem). Probably having user [WORKGROUP/username] and WORKGROUP set in snmb.conf should be enough.
But anyway, it worked for me and hopefully it helps you too.