Skip to content

Instantly share code, notes, and snippets.

@olegpolukhin
Created October 19, 2017 23:02
Show Gist options
  • Save olegpolukhin/ca06c491ac0f45b5972701489ade0269 to your computer and use it in GitHub Desktop.
Save olegpolukhin/ca06c491ac0f45b5972701489ade0269 to your computer and use it in GitHub Desktop.
samba smd.conf
[global]
workgroup = WORKGROUP
server string = Samba Server
log file = /var/log/samba/%m.log
max log size = 50
security = user
map to guest = Bad User
dns proxy = no
# следовать по симлинкам
unix extensions = no
wide links = yes
follow symlinks = yes
# utf кодировка
dos charset = cp866
unix charset = UTF8
# отключаем принтеры
load printers = no
show add printer wizard = no
printcap name = /dev/null
disable spoolss = yes
[share]
comment = share folder
path = /
delete readonly = yes
locking = no
browsable = yes
writable = yes
force directory mode = 777
force create mode = 777
hide dot files = no
create mode = 0777
directory mode = 0777
valid users = bobman,@bobman,@users
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment