Please follow the below template, it will help us to help you!
If you are Experiencing issues with a Pi-hole install that has non-standard elements (e.g you are using nginx instead of lighttpd, or there is some other aspect of your install that is customised) - please use the Community Help category.
Expected Behaviour:
Having installed Pi-Hole and Unbound successfully, I thought I'd add Samba so that I can access the SD card from Windows (10) and store a few files on it but I cannot map a drive in Windows to it. Windows sees the Pi and my home folder (simon) under Network but I can't open the folder and when I try to map it as a drive it says it cannot be found. I tried it before installing Unbound and it half worked (I made a mistake) but after Unbound I just get that error so it looks as if Unbound is stopping it from working? I saw its address as 127.0.0.1 at one point but I can't remember where, I think at the end of the Unbound installation. I followed the same instructions I used on my other Pi and that is visible in Windows and working as expected.
(Pi 3B running Pi OS Lite 64 bit)
Actual Behaviour:
Error message: "The network path \192.168.0.260\simon could not be found"
Debug Token:
I ran pihole -d but don't see a Debug token?
First visit here so I hope I've got the formatting right.
If you are using IP to connect, Pi-hole and Unbound are not involved.
This is a configuration issue in your network.
The error message shows "The network path \192.168.0.260\simon could not be found". 192.168.0.260 is an invalid IP.
Every octet must be a decimal value between 0 and 255, but in your error message the last octet is greater than 255.
When the debug log is finished you will be asked to upload the log.
Answer Y (yes). A TOKEN will be generated after the upload. Post the TOKEN here.
Sorry, typo, it was a long night. The IP address is actually 192.168.0.250. Thanks for the reply and explaining the token. Any ideas? Maybe I need to install samba first?
I run samba along side my pihole using unbound as well ( all bare metal ) and it works well. Do you have a firewall on your pi and if so, have you opened ports for the samba server?
While I do not use Unbound, I have Pi-hole and Samba setup and running. I wonder if the script used is possibly out of date? I setup Samba myself, and I think the only difficulty I encountered was in getting it to work with Apple devices.
I did the usual update and upgrade before and after installing everything so I assume they're all current versions. I'll try installing Samba first, then Pi-Hole then Unbound and check it after each install. Knowing that it should work is useful though so it was probably my error.
Curious if you've made progress. I was looking at your original post and wanted to verify how your connecting. The error message you recieved:
The syntax has an error. Connection should be made to \\192.168.0.250\simon
Some other things that come to mind if you've not already checked, Permissions to the shared folder and the did you add a samba user? The default windows window will have the "login in with other creditials" box unchecked. You would want to uncheck that if the samba user differs from your windows user.
From a security perspective you may want to consider making the share inside you home directory as opposed to the home directory itself. That way you don't have to open you home directory to other users.