[Samba] Access problem: root Ok, but not home
Chris du Preez
chris at flamengro.co.za
Tue Jul 5 08:11:00 MDT 2011
> I've just done an out-of-the-box RHEL6 (SL6, actually) install, but
> can't get the Samba config quite right. system-config-samba has gone in
> RHEL6, which hasn't helped.
>
> If I set up a root section:
>
> [root]
> comment = SL6 /
> path = /
> writeable = yes
> valid users = paul
>
> then I can access '/' from XP without problems. If I instead (or as
> well) set up a section for myself:
>
> [paul]
> comment = SL6 /home/paul
> path = /home/paul
> writeable = yes
> valid users = paul
>
> Then I can't access the 'paul' share from XP, even though I can access
> the 'root' share. When using the root share, I can see the contents of
> home, but I can't get into /home/paul.
>
> I've tried this both with and without the standard [Homes] section; no
> difference. smbusers contains the (extra) line 'paul = paul'. My
> username and password are identical on XP and SL6, and my smb password
> is the same. This is a small local workgroup; no domain.
>
> The samba logfile doesn't complain when I try to access the paul share:
>
> [2011/06/07 12:56:56.865835, 1] smbd/service.c:1070(make_connection_snum)
> puffin (::ffff:192.168.1.105) connect to service paul initially as
> user paul (uid=500, gid=500)
>
> but when I double-click on the share from Windows explorer, I get a
> pop-up saying "\\SL6\paul is not accessible, yada".
>
> Any ideas?
>
> Thanks.
I had the same problem with rhel 6. What I did was to "setsebool
samba_export_rw on" as root. You can replace the "rw" with "ro".
Hope this helps
Chris
More information about the samba
mailing list