Sabma 3 config

$ testparm -S

[global]
security = user
workgroup = HOME
server string = NAS Server
guest account = nobody
map to guest = Bad User
os level = 99
load printers = No
#dos charset = CP866
#unix charset = CP1251
#display charset = CP1251
#unix charset = UTF-8
#dos charset = CP866
#display charset = UTF-8
#workgroup = HOME
#netbios name = nas
#server string = NAS Server
#security = share # share, user,
#security = 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 = 99
#wins support = yes
#reate mask = 0777 directory mask = 0777 # (\\server\sh не существует !!!!) browseable = yes
#force user = nobody
acl allow execute always = true
[DISK1]
path = /mnt/1
comment = mediafiles
create mask = 0664
directory mask = 0775
guest ok = Yes
available = yes
browsable = yes
public = yes
writable = yes
[DISK2]
path = /mnt/2
comment = mediafiles
create mask = 0664
directory mask = 0775
guest ok = Yes
available = yes
browsable = yes
public = yes
writable = yes
[homes]
comment = Home Directories
browseable = no
writable = yes
smb passwd file = /etc/samba/smbpasswd
passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
null passwords = no
encrypt passwords = yes
winbind trusted domains only = yes
passwd program = /usr/bin/passwd %u
unix password sync = Yes