diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-12-16 11:16:35 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-12-16 11:16:35 +0000 |
commit | 788faa321fd43f4cb9f6e5a827df43d64b1bdabf (patch) | |
tree | 969ba4eeefd843e65dd02fb0b6cdea4aab0b1e1c /sys-apps/baselayout/files | |
parent | 42afb19128a757e77cf212826a23aec5299053f6 (diff) |
sys-apps/baselayout : tune samba configuration file
Diffstat (limited to 'sys-apps/baselayout/files')
-rw-r--r-- | sys-apps/baselayout/files/smbcfg | 25 |
1 files changed, 20 insertions, 5 deletions
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 |