I tried to mount a windows share into the Linux server by using the following command:
mount -t cifs -v -o username=myname,password=mypassword //somename.net/the/path/to/the/directory /my/local/path
Then it failed with error: mount error (2): No such file or directory
Also, I tried to mount other paths:
//somename.net/the/path/to/the - mount error(13) Permission Denied //somename.net/the/path/to - mount error(13) Permission Denied //somename.net/the/path - success
I highly suspect that first 2 paths are not allowed to access by me as the admin added some restriction on them.
Also, I can confirm that the path I want to access is existing as I can see it in Windows File Explorer.
Any ideas why? really appreciated
More Failed Attempts:
-o username=name,password=pass,domain=mydomain,vers=1.0: Mount error: Server abruptly closed the connection.
-o username=name,password=pass,domain=mydomain with vers=2.0 or 2.1 or 3.0: failed with mount error (2) No such file or directory