I've a windows shared folder which I can access by typing \\share\files\ in "run".
I need to use that in Ubuntu. So I added \\share\files\ /mnt/share/ cifs guest,uid=0,iocharset=utf8 0 0 in /etc/fstab.
And then issued mount -a. I got directory not resolvable error mount error: could not resolve address for share: Unknown error.
I'm pretty new here, can you please help me?
Edit 1:
I tried adding //share/files/ /mnt/share/ cifs guest,uid=0,iocharset=utf8 0 0 in /etc/fstaband issuing mount -a command and got same error.
I used id -u and got 0, used that in uid=0.
Edit 2
I used IP (//192.168.1.222/files/ /mnt/share/ cifs guest,uid=0,iocharset=utf8 0 0) instead of directory path and got the following error message
Permission denied
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
pingperhaps) that you can resolve share from that PC? – agc93 Oct 04 '14 at 05:11shareto the corresponding IP address? – Gord Thompson Oct 04 '14 at 07:46Guestaccount enabled on the Windows machine? If not, then you will need to provide credentials for this to work. If theGuestaccount is not enabled and you can connect to the share from another Windows machine without supplying credentials then in that case you are (implicitly) using pass-through authentication. – Gord Thompson Oct 04 '14 at 08:11smbclient? Might be easier to troubleshoot that way first before you try to mount. – Brian Z Oct 04 '14 at 09:11