From 788faa321fd43f4cb9f6e5a827df43d64b1bdabf Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 16 Dec 2022 11:16:35 +0000 Subject: sys-apps/baselayout : tune samba configuration file --- sys-apps/baselayout/files/smbcfg | 25 ++++++++++++++++++++----- 1 file changed, 20 insertions(+), 5 deletions(-) (limited to 'sys-apps/baselayout/files') diff --git a/sys-apps/baselayout/files/smbcfg b/sys-apps/baselayout/files/smbcfg index 09276f94..343db15f 100644 --- a/sys-apps/baselayout/files/smbcfg +++ b/sys-apps/baselayout/files/smbcfg @@ -1,20 +1,35 @@ [global] workgroup = WORKGROUP - server string = Samba Server + server string = %h samba server server role = standalone server log file = /var/log/samba/log.%m - max log size = 50 + max log size = 1000 dns proxy = no usershare path = /var/lib/samba/usershare usershare max shares = 100 usershare allow guests = yes usershare owner only = yes - client max protocol = NT1 + security = user + map to guest = Bad User + obey pam restrictions = yes + unix password sync = yes + passwd program = /usr/bin/passwd %u + passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* + pam password change = yes + domain master = no + local master = no + preferred master = no + os level = 0 + client min protocol = NT1 + client max protocol = SMB3 + server min protocol = NT1 + server max protocol = SMB3 [tmp] comment = Temporary file space path = /var/tmp public = yes - writeable = yes - read only = no + writeable = no + read only = yes printable = no guest ok = yes + guest only = yes -- cgit v1.2.3