Тут ещё полно мусора пока. Но работает.
[global]
netbiosname = Computer'sName
passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
obey pam restrictions = yes
hosts equiv = 192.168.1.0
write list = work,@rabgruppa
force group = rabgruppa
passwd program = /usr/bin/passwd %u
allow hosts = 192.168.1. 192.168.2. 127.
dns proxy = no
netbios name = Computer'sName
delete readonly = yes
printing = cups
default = Temp
local master = Yes
workgroup = rabgruppa
os level = 200
auto services = Temp
printcap name = /etc/printcap
security = share
max log size = 0
log file = /var/log/samba/%m.log
guest account = work
smb passwd file = /etc/samba/smbpasswd
load printers = yes
socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192
username map = /etc/samba/smbusers
encrypt passwords = yes
public = yes
server string = Computer'sName
unix password sync = Yes
force user = work
valid users = work,@rabgruppa
pam password change = yes
[homes]
comment = Home Directories
browseable = yes
writeable = yes
valid users = %S
create mode = 0664
directory mode = 0775
; map to guest = bad user
; [netlogon]
; comment = Network Logon Service
; path = /usr/local/samba/lib/netlogon
; guest ok = yes
; writable = no
; share modes = no
; path = /usr/local/samba/profiles
; browseable = no
; guest ok = yes
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
printable = yes
;[tmp]
; comment = Temporary file space
; path = /tmp
; read only = no
; public = yes
;[public]
; comment = Public Stuff
; path = /home/samba
; public = yes
; writable = yes
; printable = no
; write list = @staff
;[fredsprn]
; comment = Fred's Printer
; valid users = fred
; path = /home/fred
; printer = freds_printer
; public = no
; writable = no
; printable = yes
;[fredsdir]
; comment = Fred's Service
; path = /usr/somewhere/private
; valid users = fred
; public = no
; writable = yes
; printable = no
;[pchome]
; comment = PC Directories
; path = /usr/local/pc/%m
; public = no
; writable = yes
;[public]
; path = /usr/somewhere/else/public
; public = yes
; only guest = yes
; writable = yes
; printable = no
;[myshare]
; comment = Mary's and Fred's stuff
; path = /usr/somewhere/shared
; valid users = mary fred
; public = no
; writable = yes
; printable = no
; create mask = 0765
[Temp]
path = /home/vasya/Temp