From bda5ed591ef11c24b4412497c43e5bb0b0f9061d Mon Sep 17 00:00:00 2001 From: Jan Tuomi Date: Fri, 26 Jun 2026 19:22:32 +0300 Subject: Set up samba jail --- roles/jails/10_samba/templates/smb4.conf.j2 | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 roles/jails/10_samba/templates/smb4.conf.j2 (limited to 'roles/jails/10_samba/templates') diff --git a/roles/jails/10_samba/templates/smb4.conf.j2 b/roles/jails/10_samba/templates/smb4.conf.j2 new file mode 100644 index 0000000..23e87b1 --- /dev/null +++ b/roles/jails/10_samba/templates/smb4.conf.j2 @@ -0,0 +1,23 @@ +[global] + workgroup = WORKGROUP + server string = pursotin samba + security = user + map to guest = never + + vfs objects = acl_xattr catia fruit streams_xattr + map acl inherit = yes + store dos attributes = yes + + log file = /var/log/samba4/log.%m + max log size = 1000 + + server min protocol = SMB3 + server max protocol = SMB3 + + ntlm auth = no + +[smb] + path = /mnt/storage + browseable = yes + read only = no + valid users = {{ samba.username }} -- cgit v1.3