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)?
1 post • Page 1 of 1