CIFS and Samba drive mount nightmare

by Yzhang   Last Updated October 03, 2015 15:01 PM

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?

Thank you!

Related Questions

Unable to follow symbolic links in a Windows share

Updated November 22, 2017 02:02 AM

Problem using SMB credentials file to mount SMB share

Updated November 30, 2017 20:02 PM

CIFS mounted share hangs up after some time

Updated April 22, 2017 02:02 AM