diff options
| author | Jan Tuomi <jan@jantuomi.fi> | 2026-06-26 19:22:32 +0300 |
|---|---|---|
| committer | Jan Tuomi <jan@jantuomi.fi> | 2026-06-26 19:22:32 +0300 |
| commit | bda5ed591ef11c24b4412497c43e5bb0b0f9061d (patch) | |
| tree | c2e2d5a3b8e0a21ac744a58515d208efa5bd6896 /roles/jails/10_samba/templates | |
| parent | 2324c244f4912bf03133b4d9a36d52c23f998827 (diff) | |
Set up samba jail
Diffstat (limited to 'roles/jails/10_samba/templates')
| -rw-r--r-- | roles/jails/10_samba/templates/smb4.conf.j2 | 23 |
1 files changed, 23 insertions, 0 deletions
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 }} |
