Hi,
I am trying to manually configure the Samba config file to only allow access from a range of IP addresses by adding the following lines to the [Global] section:
hosts allow = 127.0.0.1 192.168.50.0/24
hosts deny = 0.0.0.0/0
I am editing the /raid/sys/smb.conf file. However, everytime I restart Samba using the command /img/bin/rc/rc.samba restart, the changes I made to the smb.conf file do not stay. It reverts back to the config file as it was before I made any changes.
How do I make the changes to /raid/sys/smb.conf stay and actually be implemented by Samba? Thanks!