I'm having an issue setting a password on a simple Samba share. I want the share to be visible to people on my network, but only people with the right set of credentials should be able to log in and see what is in the share.
Right now, anybody who sees the Raspberry Pi on my network can open the "rough" share, peruse it, and edit its contents.
My user "pi" is configured with Samba, but after clearing my credentials in Windows it still seems accessible to anyone.
[global] server string = %h server obey pam restrictions = Yes pam passwordchange = Yes passwd program = /usr/bin/passwd %u passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\s$ unix password sync = Yes syslog = 0 log file = /var/log/samba/log.%m max log size = 1000 dns proxy = No wins support = Yes panic action = /usr/share/samba/panic-action %d security = user [rough] comment = Rough HD path = /media/ROUGH # Use just one user for now; testing ;valid users = @users valid users = pi # only hides it, doesn't make it secure ;browseable = no read only = no guest only = no guest ok = no