[Samba] Simple Samba Configuration on FC5, Please help!

Craig White craigwhite at azapple.com
Sat Jul 8 04:36:26 GMT 2006


On Fri, 2006-07-07 at 21:14 -0700, DuongThanh An wrote:
> Hi!,
> 
> I have a simple configuration for samba to have my /shared dir got shared as writable to everyone in my LAN. The configuration, however, seems not to work :(.
> 
> Could someone help me out this situation?
> 
> My configuration:
> [global]
>     workgroup = mygroup
>     server string = thanhan
>     printcap name = /etc/printcap
>     load printers = yes
>     cups options = raw
>     log file = /var/log/samba/%m.log
>     max log size = 50
>     security = share
>     socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
>     dns proxy = no
>     guest ok = yes
>     guest account = root
> [homes]
>     comment = Home Directories
>     browseable = no
>     writeable = yes
> [shared]
>     path = /shared
>     writeable = yes
>     browseable = yes
>     guest ok = yes
> 
> The /shared dir permission is: 777
> 
> When I tried to connect to the share from a Windows machine, I have successully access the directory (without any password prompt) but when I tried to create a new directory I got an "Access Denied" error.
> 
> My Samba version is: 3.0.21b-2
> 
> Thank you so much for help :)
> 
----
sounds like SELinux issue (FC-5) - check /var/log/messages, dmesg for
'denied avc' messages to confirm. If so...

either, turn SELinux to 'permissive' mode
or
learn how to use SELinux to 'label' /shared for use with Samba

http://fedora.redhat.com/docs/selinux-faq-fc5/

Craig



More information about the samba mailing list