smb.conf
Код: Выделить всё
#======================= Global Settings =======================
[global]
log file = /var/log/samba/log.%m
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
obey pam restrictions = yes
socket options = TCP_NODELAY
map to guest = bad user
encrypt passwords = Yes
passwd program = /usr/bin/passwd %u
passdb backend = tdbsam
dns proxy = no
server string = %h server
invalid users = root
unix password sync = yes
workgroup = ob
os level = 20
security = share
syslog = 0
panic action = /usr/share/samba/panic-action %d
usershare allow guests = yes
max log size = 10000
pam password change = yes
lanman auth = Yes
[gitana]
writeable = yes
valid users = @greeny
create mode = 0664
path = /mnt/raid/gitana
directory mode = 0775
[makety]
writeable = yes
valid users = @redy
create mode = 0664
path = /mnt/raid/makety
directory mode = 0775
[text]
valid users = @greeny
writeable = yes
create mode = 0664
path = /mnt/raid/text
directory mode = 0775