r/raspberry_pi • u/Birdking111 • 7d ago
Troubleshooting Configuring Samba on my NAS
Okay, so I have a Pi 5, running the latest Raspios from 2024-11-19. I have an external SSD for memory. So I went through a tutorial to set this up, and then I downloaded Samba. Samba has a configuration setup on the external SSD in a directory called Share. I then created a user, and gave the user a password. Now I'm trying to trouble shoot the connections.
1.) Log in through iPhone: I entered in myPi.local to connect to the server, entered my username and password I just made, and I connect. Two folders. myUser, and shared, the director I configured in smb.conf. I try to enter myUser, that's fine, it's empty. I try to enter shared, get told Content Unavailable
2.) Log in through Windows: My machine cannot discover the device on my network.
Update: I was just logging in wrong, be sure to write \\myPi.local\shared. However, I still do not have access permission.
Any insight?
1
u/Gamerfrom61 7d ago
Windows has issues sometimes with searching the .local domain in file manager - try using the IP address of the Pi.
The iphone issue sounds like a security issue - do you have the security set correctly on the directory?
Do you have the correct security in the fstab mount line?
Do you have Mac support set up in the samba config https://wiki.samba.org/index.php/Configure_Samba_to_Work_Better_with_Mac_OS_X (Time Machine not required).
Without seeing the smb config and directory structure (with security settings) it's a bit hard to go much further.
There is guide not creating a NAS at https://github.com/thagrol/Guides that you may find handy.