mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-12-21 13:23:02 +01:00
update samba
This commit is contained in:
34
samba/data/smb.conf
Normal file
34
samba/data/smb.conf
Normal file
@@ -0,0 +1,34 @@
|
||||
[global]
|
||||
netbios name = easypi
|
||||
workgroup = WORKGROUP
|
||||
server string = EasyPi Samba Server
|
||||
dns proxy = no
|
||||
log file = /var/log/samba/log.%m
|
||||
max log size = 1000
|
||||
syslog = 0
|
||||
panic action = /usr/share/samba/panic-action %d
|
||||
server role = standalone server
|
||||
passdb backend = tdbsam
|
||||
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:* %n\n *password\supdated\ssuccessfully* .
|
||||
pam password change = yes
|
||||
map to guest = bad user
|
||||
usershare allow guests = yes
|
||||
printcap name = /dev/null
|
||||
load printers = no
|
||||
|
||||
[homes]
|
||||
comment = Home Directories
|
||||
browseable = no
|
||||
writable = yes
|
||||
|
||||
[share]
|
||||
comment = Public File Sharing
|
||||
path = /share
|
||||
browseable = yes
|
||||
read only = no
|
||||
guest ok = yes
|
||||
admin users = root
|
||||
root preexec = mkdir -p /share
|
||||
Reference in New Issue
Block a user