I am trying to mount one of network share to my laptop. I am using following command
sudo mount -t cifs //server.name/shared /mnt/myfolder -o user="username"
However, I am getting very different errors every time I run this command. See attached picture
dex@lina:/$ sudo mount -t cifs //server.name/shared /mnt/share -o user="username"
Password for username@//server.name/shared: ********
mount error(22): Invalid argument
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
dex@lina:/$ sudo mount -t cifs //server.name/shared /mnt/share -o user="username"
Password for username@//server.name/shared: ********
mount error(115): Operation now in progress
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
dex@lina:/$ sudo mount -t cifs //server.name/shared /mnt/share -o user="username"
Password for username@//server.name/shared: ********
Retrying with upper case share name
mount error(6): No such device or address
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
dex@lina:/$
In case someone wants to see screen-shot, can find it here.
server.name is a name of a server and not an IP address. I know this server exists because person next to me running Windows 10 and has that share mapped. However, that person have no idea who and how mapped that drive. We both are on same network.
Can anyone tell me what is going on and how can I fix this? I have also tried with -o rw but same errors. I am using Debian 9 (stretch) with xfce.