[global]
vfs object = recycle
recycle:keeptree = Yes
recycle:touch = Yes
recycle:versions = Yes
# recycle:maxsize = 0
# 400m
recycle:maxsize = 300000000
recycle:exclude = *.tmp|*.temp|*.o|*.DS_Store|*.obj|~$*
# Запрещенные типы файлов, удалять без базару
veto files = /*.DS_Store/Thumbs.db/
delete veto files = Yes netbios name = 1_SERVER_H34
workgroup = WORKGROUP
server string = FileServer
dos charset = 866
unix charset = utf8
display charset = cp1251
# interfaces = br0
# bind interfaces only = yes
security = user
encrypt passwords = Yes
null passwords = Yes
client plaintext auth = Yes
map to guest = Bad User
guest account = nobody
guest ok = yes
create mask = 0666
directory mask = 0777
hide dot files = yes
public = yes
preferred master = yes
local master = yes
domain master = yes
os level = 255
wins support = yes
# socket options = TCP_NODELAY IPTOS_LOWDELAY
socket options = TCP_NODELAY
wins proxy = no
dns proxy = no
time server = no
load printers = no
show add printer wizard = no
printing = none
printcap name = /dev/null
disable spoolss = yes
log level = 2
max log size = 30000
log file = /var/log/samba/log.%m
include = /etc/samba/add_cfg/%m
deadtime = 3
strict locking = No
delete readonly = Yes
acl map full control = True
#acl group control = True # Depricated
dos filemode = True
admin users = @support, stinky
nt acl support = yes
# список тех, кому разрешёно ставить те самые галки,
admin users = @support, stinky
# наследовать владельца (вышестоящей директории)
inherit owner = yes
# наследовать ACL
inherit acls = yes
# наследовать права
inherit permissions = yes
# позвоялет редактору прав из винды корректно обрабатывать
# наследуемые права
map acl inherit = yes
#блокировки - иногда бывают грабли без этого пункта
# locking = no
# fake oplocks = yes
# kernel oplocks = yes
# oplocks = yes
fake oplocks = no
kernel oplocks = no
oplocks = no
# Shares
... далее папки и в конце ещё вот это
inherit owner = no
inherit acls = no
inherit permissions = no
map acl inherit = no