I set-up a Samba on a local Raspberry Pi. I set the configs (to the best of my knowledge) to share only the "homes". Then when I see my networks folder from another computer, I see these three options,
In my directory tree, one appears as "homes on pi" and the other as "homes on pi.local". No idea where that Windows Network is coming from since there are no windows machines in the network.
On an Apple device, they show under a server "PI" with two directories as "homes, username".
Could someone help me get rid of the windows network and the multiple copies of the pi so there is only one shared directory? I really just want to share the home of the only user username on my pi through password and username without allowing any guests or anything. I understand this should give me only one server under network tab with only one directory for the username's home.
Edit: I minimised my /etc/samba/smb.conf. Following are its contents,
[global]
server string = Pi
workgroup = WORKGROUP
security = user
map to guest = Never
name resolve order = bcast host
[Public Files]
path = /home/username/public
force user = username
force group = username
create mask = 0775
force create mode = 0775
directory mask = 0775
force directory mode = 0775
public = yes
writable = yes
browseable = yes

testparm?