Limiting Samba accesses
Samba accesses can be restricted to certains IP / ranges through the access tab in the Plesk Samba extension screen.
This builds the /etc/samba/smb.conf.include file with entered information.
All well and good so far.
This file contains the standard 'do not modify...' text, so making manual changes directly here is undesirable.
In Plesk are some Linux commands such as /usr/local/psa/bin/php_handler through which permitted changes can be made from the command line.
Is there a similar command included which would allow a shell script to make changes in a supported manner like the /usr/local/psa/bin/php_handler file does?
I.E. any changes the script makes can be seen in the Plesk Panel and unless admin changes them through the panel will be persistent.
Unfortunately, we have to close your request, because over the years it has not become quite popular for further implementation.
—
IG