Access to your account on the server ... has been denied
Ok I'm going to share what works for me as I spent weeks, probably months, trying to fix this network file sharing issue.
I have several Mac mini M1 & Intel, the mini M1 acting as file server stopped sharing when updated to macOS 13.2 if I recall correctly. Sharing between the other Macs was working ok. I tried all the tips posted online: reset passwords, try new accounts, turn sharing off/on, remove sharing, reboot million times, nothing work. I was alway hoping Apple will fix this in the next release, as it did work for years. Yesterday I updated to macOS 14, and sharing was still not working for me:
So I spent more time on Google and finally found this post:
https://apple.stackexchange.com/questions/426769/file-sharing-always-given-authentication-errors
describing exactly my symptoms... and linking to another post
Both my server and my client are running macOS Monterey 12.4. I've shared folders on the server, enabled SMB sharing in the options and enabled the accounts for Windows sharing. On the client, I co...
apple.stackexchange.com
and an answer from Ortwin Gentz suggesting to
add the user to the SMB service access control list (SACL) with this
Apple Technote https://support.apple.com/en-ca/HT210659 providing the solution!
Get the guid for the username with:
dscl /Search read /Users/<username> GeneratedUID
then add the user to the smb service with two commands:
sudo dscl /Local/Default append Groups/com.apple.access_smb GroupMembership <username>
sudo dscl /Local/Default append Groups/com.apple.access_smb GroupMembers <guid>
And voila, network file sharing works again for my stubborn Mac mini M1. Don't ask me why you need to do this manually, as mentioned by Ortwin, the Mac File Sharing window should do this.
Good luck, I hope it works for you.