2015-07-17 16:53:21 +02:00
|
|
|
[global]
|
2016-04-12 12:28:27 +02:00
|
|
|
netbios name = easypi
|
2015-07-17 16:53:21 +02:00
|
|
|
workgroup = WORKGROUP
|
2016-04-12 12:28:27 +02:00
|
|
|
server string = EasyPi Samba Server
|
2015-07-17 16:53:21 +02:00
|
|
|
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
|
2016-05-01 03:06:20 +02:00
|
|
|
printcap name = /dev/null
|
2015-07-17 16:53:21 +02:00
|
|
|
load printers = no
|
|
|
|
|
2016-04-12 12:28:27 +02:00
|
|
|
[homes]
|
|
|
|
comment = Home Directories
|
|
|
|
browseable = no
|
|
|
|
writable = yes
|
|
|
|
|
2015-07-17 17:11:33 +02:00
|
|
|
[share]
|
2016-07-03 16:48:47 +02:00
|
|
|
comment = Public File Sharing
|
2015-07-17 17:11:33 +02:00
|
|
|
path = /share
|
2015-07-17 16:53:21 +02:00
|
|
|
browseable = yes
|
2016-04-07 02:56:01 +02:00
|
|
|
read only = no
|
2015-07-17 16:53:21 +02:00
|
|
|
guest ok = yes
|
2016-04-07 02:56:01 +02:00
|
|
|
admin users = root
|
2016-05-01 03:06:20 +02:00
|
|
|
root preexec = mkdir -p /share
|