summaryrefslogtreecommitdiff
path: root/sys-apps/baselayout/files
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/baselayout/files')
-rw-r--r--sys-apps/baselayout/files/smbcfg25
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