I edited /etc/samba/smb.conf and added a few shares, and from my Windows machine I was able to open the Run box and type \\10.10.55.198 and it opened a folder in Explorer showing all the shares. I wasn't able to login to the ones where I hadn't set 'guest ok = yes' regardless of which username I used, but the couple of folders that I'd enabled guest access for (media and software) were browsable.
Then I tried to set the media folder to only allow access to certain users and to be writeable by using 'valid users =' and restarted smbd (which I'd done many times before) and now I can't access any of the shares, even if I comment out the entry for media and restart smbd again. I also tried rebooting the PVE server, but when I try to access \\10.10.55.198 now I just get an error "Windows cannot access \\10.10.55.198"
Before it would show the shares without prompting for a username and password, it was only when I tried to access one of them that didn't have guest access enabled that it would prompt for credentials, so I don't understand why it's stopped working. I checked whether there are any saved connections with 'net use * /del' but that confirms "There are no entries in the list".
How do I get Samba working again?
Then I tried to set the media folder to only allow access to certain users and to be writeable by using 'valid users =' and restarted smbd (which I'd done many times before) and now I can't access any of the shares, even if I comment out the entry for media and restart smbd again. I also tried rebooting the PVE server, but when I try to access \\10.10.55.198 now I just get an error "Windows cannot access \\10.10.55.198"
Before it would show the shares without prompting for a username and password, it was only when I tried to access one of them that didn't have guest access enabled that it would prompt for credentials, so I don't understand why it's stopped working. I checked whether there are any saved connections with 'net use * /del' but that confirms "There are no entries in the list".
How do I get Samba working again?