воскресенье, 18 мая 2008 г.

SAMBA


---------------------
SMB.CONF


[global]
workgroup = work
netbios name = linux
server string = linux Samba File-server
log file = /var/log/samba/log.%m
max log size = 50
security = user
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192
local master = yes
preferred master = yes
domain master = no
interfaces = eth0 192.168.0.20 127.0.0.1
hosts deny = ALL
hosts allow = 192.168.0. 127.0.0.1
dns proxy = no
name resolve order = lmhosts host bcast
dos charset = cp1251
os level = 20
unix charset = utf8
bind interfaces only = yes
guest ok = no
deadtime = 15
username map = /etc/samba/smbusers
veto files = /*.db/
level2 oplocks = True
hide dot files = yes
--------------------------------------
[common]
comment = common documents
path = /home/doc
writeable = yes
valid users = @office
force group = office
create mask = 0660
directory mask = 0771
---------------------------------------
;[РЇСЂРєРѕР’]
; comment = РЇСЂРєРѕР’Рќ
; path = /home/yarkovn/doc
; writeable = yes
; valid users = yarkovn root
; create mask = 0664
; directory mask = 0775
---------------------------------------
[сисадмин]
comment = сисадмин
path = /home/sysadmin/doc
writeable = yes
valid users = arayakao root
create mask = 0664
directory mask = 0775
--------------------------------------
;[Лейко]
; comment = ЛейкоЛЛ
; path = /home/leiko/doc
; writeable = yes
; valid users = leiko root
; create mask = 0664
; directory mask = 0775
-----------------------------------
;[Балюк]
; comment = БалюкСЕ
; path = /home/balyuk/doc
; writeable = yes
; valid users = balyuk root
; create mask = 0664
; directory mask = 0775
------------------------------------
;[Лозовой]
; comment = Лозовой
; path = /home/lozovoy/doc
; writeable = yes
; valid users = Lozovoy root
; create mask = 0664
; directory mask = 0775
--------------------------------------
;[Савченко]
; comment = Савченко
; path = /home/savchenko/doc
; writeable = yes
; valid users = savchenko root
; create mask = 0664
; directory mask = 0775
-----------------------------------------
;[Польшина]
; comment = Польшина
; path = /home/polshina/doc
; writeable = yes
; valid users = polshina root
; create mask = 0664
; directory mask = 0775
-----------------------------------------
;[Краснонос]
; comment = Краснонос
; path = /home/krasnonos/doc
; writeable = yes
; valid users = krasnonos root
; create mask = 0664
; directory mask = 0775
------------------------------------------
;[Франчук]
; comment = Франчук
; path = /home/franchuk/doc
; writeable = yes
; valid users = franchuk root
; create mask = 0664
; directory mask = 0775
-------------------------------------
[INSTALL]
comment = Programm Files
path = /media/install
writeable = yes
valid users = root Lozovoy Andrey
create mask = 0664
directory mask = 0775
---------------------------------------
[PHOTO_YARKO.A.N.]
comment = не отсортированые фото Ярко А.Н.
path = /pub/1/video
writeable = yes
valid users = root Goloschapova
create mask = 0664
directory mask = 0775
----------------------------------------
[MUSIC]
comment = MUSIC Files
path = /pub/1/music
writeable = yes
valid users = @office
create mask = 0664
directory mask = 0775
--------------------------------------------
[Фотоархив]
comment = Фотоархив
path = /pub/photo
writeable = yes
valid users = @office
create mask = 0664
directory mask = 0775
-------------------------------------------
;[stroyinform]
; comment = Stroy Inform DataBase
; path = /home/stroyinf
; writeable = yes
; valid user = @office
; create mask = 0777
; directory mask = 0777
----------------------------------------
[homes]
comment = Home Directories
browseable = no
valid users = %U
writeable = yes
create mask = 0700
directory mask = 0700


Комментариев нет: