Re: SELinux enforcing, an external ntfs-3g mount, Samba and Fedora 8

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2007-12-10 at 08:31 +0100, craigni wrote:
> Has anyone got Samba working to access an external ntfs-3g mount with SELinux enforcing on Fedora 8?  The following is what I've done so far, and my networked XP Pro machines aren't even seeing the Linux box--any ideas?
> 
> Many TIA,
> Craig
> 
> Administration->Samba
>  Directory      Share name Permissions Visibility
>  /mnt/ntfsdrive ntfsdrive  Read/Write  Visible
> 
> Bottom of my /etc/samba/smb.conf file:
> 
> [ntfsdrive]
>         path = /mnt/ntfsdrive
>         writeable = yes
> ;       browseable = yes
>         guest ok = yes
> 
> System->SELinux Management->Boolean checked:
>  samba: Allow samba to run as the domain controller
>  samba: Export all files on system read-write
>  samba: Allow samba to export user home directories
>  samba: Allow samba to modify public files
>  samba: Allow samba to export NFS volumes
>  samba: Allow samba to run unconfined scripts
> 
> Settings->Firewall
>  Samba green checked as a trusted service
> 
> sudo smbpasswd -a username
> sudo /etc/init.d/smb restart
> sudo /sbin/chkconfig --level 35 smb on
> sudo /sbin/chkconfig --list smb
> smb             0:off   1:off   2:off   3:on    4:off   5:on    6:off
> 
> sudo /etc/init.d/smb restart
> Shutting down SMB services:                                [  OK  ]
> Starting SMB services:                                     [  OK  ]
----
If your problem is computers 'seeing' your F8 samba, I understand they separated smb and nmb and must be started / configured separately.

sudo /sbin/chkconfig --levels 2345 nmb on
sudo /sbin/service nmb restart

Craig


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux