Sabma 2 config

[global]
#dos charset = CP866
#unix charset = CP1251
#display charset = CP1251
unix charset = UTF-8
dos charset = CP866
display charset = UTF-8
workgroup = HOME
netbios name = zotac
server string = ZOTAC Server
security = share # share, user,
browseable = yes
#browseable = yes [sh] path = /home/sh
guest ok = no
load printers = No
dns proxy = No
guest account = nobody # Назначает всех входящих пользователем nobody
log file = /var/log/samba/%m.log
max log size = 50
#os level = 33
#wins support = yes
#reate mask = 0777 directory mask = 0777 # (\\server\sh не существует !!!!) browseable = yes
#force user = nobody
# Execute windows files
acl allow execute always = true
[WWW]
path = /var/www
comment = mediafiles
create mask = 0664
directory mask = 0777
guest ok = Yes
available = yes
read only = no
browsable = yes
public = yes
writable = yes
[Log]
path = /var/log
comment = mediafiles
create mask = 0444
directory mask = 0777
guest ok = Yes
available = yes
read only = no
browsable = yes
public = yes
writable = yes
[Backup]
path = /mnt/sdb
comment = Backup files
create mask = 0664
directory mask = 0777
guest ok = Yes
available = yes
read only = no
browsable = yes
public = yes
writable = yes