From af274d0076470d053a7e308a8d9511f26b1fd708 Mon Sep 17 00:00:00 2001 From: cronekorkn Date: Thu, 15 Sep 2022 00:55:06 +0200 Subject: [PATCH] samba --- bundles/samba/files/smb.conf | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/bundles/samba/files/smb.conf b/bundles/samba/files/smb.conf index ae52883..233aef1 100644 --- a/bundles/samba/files/smb.conf +++ b/bundles/samba/files/smb.conf @@ -1,16 +1,18 @@ [global] - workgroup = WORKGROUP - logging = syslog - panic action = /usr/share/samba/panic-action %d - server role = standalone server - obey pam restrictions = yes - unix password sync = no - server min protocol = SMB3 - server smb encrypt = required + workgroup = WORKGROUP + logging = syslog + panic action = /usr/share/samba/panic-action %d + server role = standalone server + obey pam restrictions = yes + unix password sync = no + server min protocol = SMB3 + server smb encrypt = required + local master = yes + preferred master = yes % for name, confs in shares.items(): [${name}] % for key, value in confs.items(): - ${key} = ${value} + ${key} = ${value} % endfor % endfor