I've just set up a new FC9 system with Samba and I'm having a problem
I've set security to share, and then set up the following share
[reef] comment = Reef shared folder path = /user/remote/reef writeable = yes browseable = yes guest ok = yes guest only = yes valid users = gary force user = gary
I've also got the matching directory structure
ls -ld / /user /user/remote/ /user/remote/reef/ drwxr-xr-x 22 root root 4096 2009-02-24 18:17 / drwxr-xr-x 3 root root 4096 2009-02-24 17:26 /user drwxr-xr-x 3 gary gary 4096 2009-02-24 17:26 /user/remote/ drwxr-xr-x 2 gary gary 4096 2009-02-24 17:26 /user/remote/reef/
However, when I try to access it from a WinXP machine I get the following error both on the Windows PC and the Samba logs.
[2009/02/25 10:29:40, 0] smbd/service.c:make_connection_snum(1156) '/user/remote/reef' does not exist or permission denied when connecting to [reef] Error was Permission denied
Anyone know what I've missed?
Gary
Gary Stainburn wrote:
I've set security to share, and then set up the following share
[reef] comment = Reef shared folder path = /user/remote/reef writeable = yes browseable = yes guest ok = yes guest only = yes valid users = gary force user = gary
<snip>
However, when I try to access it from a WinXP machine I get the following error both on the Windows PC and the Samba logs.
[2009/02/25 10:29:40, 0] smbd/service.c:make_connection_snum(1156) '/user/remote/reef' does not exist or permission denied when connecting to [reef] Error was Permission denied
Do these options not conflict?:
guest only = yes valid users = gary
You are saying the only user who can connect is gary and unless you have defined your guest user as called gary (guest account = gary) then I think you are denying the connect. Try taking out the "guest only" directive and see what you get, or alternatively change your "valid users" to include the name of the guest account (nobody?).
-- Sam
Gary Stainburn wrote:
I've just set up a new FC9 system with Samba and I'm having a problem
I've set security to share, and then set up the following share
Is SELinux enabled? Have you checked for SELinux errors? Have you reviewed the SELinux Samba booleans? I think they were in system-config-security on Fedora 9: they’re on system-config-selinux on Fedora 10.
Hope this helps,
James.