aboutsummaryrefslogtreecommitdiffstats
path: root/roles/jails/10_samba/templates/smb4.conf.j2
diff options
context:
space:
mode:
Diffstat (limited to 'roles/jails/10_samba/templates/smb4.conf.j2')
-rw-r--r--roles/jails/10_samba/templates/smb4.conf.j223
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 }}