I am facing an issue with Samba shares setup for windows use. I have two shares - 1] public share, which is available for everyone in the network, 2] admin share, which is supposed to be password protected for just two users.
The public share is working fine without any problems. The private one is created, is visible from windows under the Raspberry device, but I can't access it using Samba user. I have spent a lot of time searching, but can find what I am doing wrong.
Here is definition of folders in smb.conf:
[share] comment = Shared folder path = /media/external/share public = yes writable = yes guest ok = yes create mask = 0775 [admin] comment = Admin folder path = /media/external/share public = no guest ok = no valid users = pi admin
in Authentication part I use
security = user
I have both users created as linux users and also as Samba users.
When I open "Share" folder in Win 7, it is fine. When I open "Admin" folder, windows logon form appears - as I wanted. But when I use user "admin" and put the password which I set in Samba, I get "Permission denied" error message. What am I doing wrong?