Enable map script for anonymous under all OSs

This commit is contained in:
Martyn 2025-08-16 20:44:59 +02:00
parent 84aa93e966
commit 5ae70f240a
2 changed files with 4 additions and 0 deletions

View file

@ -3,6 +3,9 @@
server string = {{ .Values.samba.global.server_string | default "%h server (Samba, Alpine)" }}
security = {{ .Values.samba.global.security | default "user" }}
map to guest = {{ .Values.samba.global.map_to_guest | default "Bad User" }}
{{- if .Values.samba.global.include_echo_map_script }}
username map script = /bin/echo
{{ end -}}
encrypt passwords = {{ .Values.samba.global.encrypt_passwords | default "yes" }}
load printers = no
printing = bsd

View file

@ -26,6 +26,7 @@ podSecurityContext:
samba:
global:
workgroup: WORKGROUP
include_echo_map_script: true
share: {}
users: []