summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-12-16 11:16:35 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-12-16 11:16:35 +0000
commit788faa321fd43f4cb9f6e5a827df43d64b1bdabf (patch)
tree969ba4eeefd843e65dd02fb0b6cdea4aab0b1e1c
parent42afb19128a757e77cf212826a23aec5299053f6 (diff)
sys-apps/baselayout : tune samba configuration file
-rw-r--r--metadata/md5-cache/sys-apps/baselayout-2.8-r2 (renamed from metadata/md5-cache/sys-apps/baselayout-2.8-r1)0
-rw-r--r--metadata/pkg_desc_index2
-rw-r--r--sys-apps/baselayout/baselayout-2.8-r2.ebuild (renamed from sys-apps/baselayout/baselayout-2.8-r1.ebuild)0
-rw-r--r--sys-apps/baselayout/files/smbcfg25
4 files changed, 21 insertions, 6 deletions
diff --git a/metadata/md5-cache/sys-apps/baselayout-2.8-r1 b/metadata/md5-cache/sys-apps/baselayout-2.8-r2
index 722a3650..722a3650 100644
--- a/metadata/md5-cache/sys-apps/baselayout-2.8-r1
+++ b/metadata/md5-cache/sys-apps/baselayout-2.8-r2
diff --git a/metadata/pkg_desc_index b/metadata/pkg_desc_index
index 4f463596..deb42158 100644
--- a/metadata/pkg_desc_index
+++ b/metadata/pkg_desc_index
@@ -37,7 +37,7 @@ net-libs/libnm-glib 1.18.10-r2: Legacy NetworkManager glib and util libraries
net-libs/webkit-gtk 2.36.7-r1 2.38.2-r1: Open source web browser engine
net-print/lexmark-upd-ppd 1.0.0.20210304-r1: Lexmark universal printer driver PPDs
net-wireless/broadcom-sta 6.30.223.271-r4: Broadcom's IEEE 802.11a/b/g/n hybrid Linux device driver
-sys-apps/baselayout 2.8-r1: Filesystem baselayout and init scripts
+sys-apps/baselayout 2.8-r2: Filesystem baselayout and init scripts
sys-apps/firetools 0.9.46-r1: Graphical user interface of app-emulation/firejail
sys-apps/lsb-release 3.2-r1: LSB version query program
sys-apps/openrc 0.44.10-r2: OpenRC manages the services, startup and shutdown of a host
diff --git a/sys-apps/baselayout/baselayout-2.8-r1.ebuild b/sys-apps/baselayout/baselayout-2.8-r2.ebuild
index 8a46a9fb..8a46a9fb 100644
--- a/sys-apps/baselayout/baselayout-2.8-r1.ebuild
+++ b/sys-apps/baselayout/baselayout-2.8-r2.ebuild
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