Add virusfilter support for Samba homes and update configuration files.

This commit is contained in:
2026-05-29 18:44:07 +02:00
parent 63344a4a29
commit be905d505a
3 changed files with 134 additions and 17 deletions
@@ -0,0 +1,11 @@
# {{ ansible_managed }}
# see: roles/common/tasks/samba-config-server.yml
/data/** r,
/data/samba/QUARANTINE/** rw,
{% if samba_homes_virusfilter | default(false) | bool %}
{{ nis_base_home }}/** r,
{% if nis_base_home != '/home' %}
/home/** r,
{% endif %}
{% endif %}