I've been raking my brains on how to mount a cifs share trying pretty much everything. It should work, but it doesn't!!
I've tried this
mount -t cifs //server-name/share-name /mnt/cifs -o username=shareuser,domain=workgroup
I've also tried it without the domain part, and I've tried pretty much every way I could find online with no results.
I keep getting the following error: mount error 112 = Host is down
I know the share is working and and it's connecting fine because if I try to type smbclient I can see it.
I was also successfully able to connect to the share by typing the following command:
smbclient \\host\share --user=username
So I know it should work!
The host I am trying to connect is Windows 10 and also I've tried to set the permissions there to everyone and to anonymous logon so anyone in the network could connect, but via Linux I still have to use the password and the username.
Any ideas on how to mount this under Linux on the command line and what's wrong here?