To start out this is a duplicate question - however the question has no answer is at the top of the Google rankings. (I don't have enough status to answer it) macOS "mount_smbfs: server connection failed: Socket is not connected"
Scenario: - Vmware Fusion - Redhat 8.1 - MacOSX Mojave
I have setup a simple Samba share with a single user. I have successfully executed testparm on the linux system and can I call smbclient from the localhost of the linux machine and iterate over the shares.
All firewalls in the system have been turned off as well as as opening up the share to being 777 (this is a local dev environment)
also I have altered my config file as suggested in the following manner: (with 2 being the beginning of my host machines IP address) server edit /etc/samba/smb.conf. Under [global] edit the following:
hosts allow = 2.
I can ping the machine, in fact I have a tomcat server that is up and running which I am actively connecting to so I know that they machines can speak to each other.
Typing in the following:
# mount_smbfs //firstname.lastname@example.org/somedirectory ./mntpoint
mount_smbfs: server connection failed: Socket is not connected