Since I updated to High Sierra (directly to 10.13.1) I can't connect my
iMacs and MacBook any more by AFP protocol, so I tried SMB.
open 'smb://user:password@S/Share' :: works, but shows Finder on the screen.
Another problem is that I can't choose the mount point's name.
I work from JAVA applications and thus should work from the command line:
mkdir /Users/user/Volumes/Share/
/sbin/mount -t smbfs //user:password@S/F /Users/user/Volumes/Share/
But this gives:
mount_smbfs: server rejected the connection: Authentication error
What did I do wrong or forgot about?
Thanks in advance.
;JOOP!
Best Answer
I was encountering the same error "mount_smbfs: server rejected the connection: Authentication error" when attempting to connect via command line using the commands:
However, I was able to elimate the error by going, on the server Mac, to System Preferences - Sharing - File Sharing - Options. Then under Windows File Sharing, click to enable the less-secure password option for the account you wish to use for sharing (optionally, create a sharing-only user for this purpose), and enter that account's password. I was then able to mount the share using the above commands.