• The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

How to limit Samba accesses

brainforge

Basic Pleskian
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.

Or should I have put this in a new feature request...
 
Last edited:
Back
Top