0
I'm trying - from a linux PC - to mount a folder of a windows PC in the local network, that was shared for everyone. So the setup is:
linux PC: Ubuntu 18.04 with smbclient and cifs-tools installed, at IP 192.168.178.3
,
Windows PC: Win10, C:\mqtt
shared for everyone as \\DEEPTHOUGHT3\mqtt
, IP 192.168.178.113
I can successfully mount the share providing an existing user of the Win10 box with
sudo mount -t cifs //192.168.178.113/mqtt /home/xyz/mnt -o user=xyz,password=***
However, when I want to mount the folder anonymously, I am not successful. In the target setup, I will not have the user credentials, so I need to find a solution for this.
I've tried several approaches / options:
- Starting with
sudo mount -t cifs //192.168.178.113/mqtt /home/xyz/mnt -o guest,sec=none
, also only one of the two-o
options - adding option
uid=1000,gid=1000
with the numbers corresponding to the current user -vv
to make more verbose output,user=,password=
and also withguest
for both entries (-user=guest,password=guest
). The same I also tried forusername=...
sec=none
and other values forsec
(like discussed here https://unix.stackexchange.com/questions/124342/mount-error-13-permission-denied)domain=.
ordomain=WORKGROUP
after confirming that the name of the windows domain isWORKGROUP
all without success.Also after a lot of googling I didn't find an answer.
I would greatly appreciate if someone knowledgeable has a solution for this!