General NAS-Central Forums

Welcome to the NAS community
It is currently Thu Sep 21, 2017 8:41 am

All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Mon May 11, 2015 9:47 pm 
Offline

Joined: Mon May 11, 2015 8:54 pm
Posts: 2
Hi,

We've got a Lenovo PX12-400. I find that the UI is pretty light on features, and I need to get into the smb.conf to prevent a certain subnet from accessing a few shares using deny hosts.
Ex: (hosts allow = 192.168.133.0/24 10.3.0.0/24 10.2.0.0/24
hosts deny 192.168.167.0/24)

I have added the lines into smb.conf, I can save the file without issue, no errors.
Afterwards, if I edit or cat the file, I can see my changes. But is seems that after a few minutes, the file reverts back to before my edits (including file dates). Needless to say if I restart Samba, the changes are not applied.

I was wondering if anyone had any success making permanent changes to the smb.conf (or a way to script the changes in after boot reliably)?

Thanks,
Jim


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group