HOSTNAME is a windows hostname. It is properly looked up, and the same thing happens when I manually specify the ip instead of the hostname in the share path.
Originally Posted by tgalati4
./tmp is a local directory. It spits out a different (and more useful) error if you give it an invalid mount path.
Yes, I can browse the share in both nautilus and dolphin.
Attempting now, will edit this post.
Originally Posted by zuti
edit: NICE CATCH! You're the man! Hopefully this gets up there in Google search results.
To fix the error 22: Invalid argument, try the following:
or, if you have it wide-open for everyone, use guest mode:
sudo mount -t cifs -o user=USER,password=PASS,sec=ntlm //HOSTNAME/media ./tmp
Thanks be to Zuti!!
sudo mount -t cifs -o guest,sec=ntlm //HOSTNAME/media ./tmp