Page tree

Welcome to FreeSoftwareServers Confluence Wiki

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

You can use "user/password" database setup w/ SAMBA but I prefer to use IP address's. You can specify entire networks by doing something like 192.168. or specify all the way down to a static IP.

sudo nano /etc/samba/smb.conf && sudo service samba restart
[root]

path = /
available = yes
hosts allow = 127.0.0.1 192.168. 10.
hosts deny = 0.0.0.0/0
read only = no
browseable = yes
public = yes
writable = yes

 

This allows the local device *loopback/127.0.0.1* and the ENTIRE 192.168.*.* network and 10.*.*.* network. (And Deny everything else)

This shares the ROOT of the Filesystem. Not Advisable!

Note: I have had issues sharing a directory high up the file tree due to permissions. I now use BIND to BIND a top shared directory to /srv/smb.

Read more on Binding with FSTAB

And BIND

FEDORA SELINUX ISSUES:

setsebool -P samba_export_all_rw 1
  • No labels