info man howto
Сообщения: 6958
Благодарности: 384
|
Профиль
|
Сайт
|
Отправить PM
| Цитировать
Возьмите, как пример :
# Samba config file created using SWAT
# from 127.0.0.1 (127.0.0.1)
# Date: 2005/06/06 23:34:20
# Global parameters
[global]
dos charset = CP866
unix charset = CP1251
workgroup = STOCK
netbios aliases = Alyaska
server string = My Comp
security = SHARE
null passwords = Yes
log file = /var/log/samba/log.%m
max log size = 50
dns proxy = No
ldap ssl = no
hosts allow = 192.168.0., 10.0.0. 127.
[Public]
path = /arhiv/samba/public/
guest ok = Yes
hosts deny = 192.168.0.7
fstype = Samba
[Films]
comment = Films
path = /arhiv/samba/Films
guest ok = Yes
hosts deny = 192.168.0.2
fstype = Samba
[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
|
-------
Поспешай не торопясь
Отправлено: 21:52, 07-06-2005
| #27
|