
10.04.2006, 22:18
|
|
Участник форума
Регистрация: 25.12.2005
Сообщений: 146
Провел на форуме: 123219
Репутация:
36
|
|
[global]
# workgroup = NT-Domain-Name or Workgroup-Name, eg: REDHAT4
workgroup = AZYK
netbios name = FreeBSD
server string = Samba Server
hosts allow = 192.168.1. 127.
log file = /var/log/log.%m
max log size = 50
security = share
socket options = TCP_NODELAY
# Configure Samba to use multiple interfaces
# If you have multiple network interfaces then you must list them
# here. See the man page for details.
; interfaces = 192.168.12.2/24 192.168.13.2/24
local master = yes
# OS Level determines the precedence of this server in master browser
# elections. The default value should be reasonable
; os level = 33
; domain master = yes
preferred master = yes
; wins support = yes
; wins server = w.x.y.z
; wins proxy = yes
dns proxy = no
# Time server
time server = True
# for Cyrillic users
client code page=866
#============================ Share Definitions ==============================
[public]
comment = Home Directories
path = /home/public
browseable = yes
writeable = yes
guest ok = yes
share modes = yes
public = yes
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
# Set public = yes to allow user 'guest account' to print
guest ok = no
writeable = no
printable = yes
# This one is useful for people to share files
[tmp]
comment = Temporary file space
path = /tmp
read only = no
public = yes
++++++++++++++++++++++++++++++++++++++++++++++
вот тебе на. Это _рабочий_ конфиг самбы с моего сервака тестового фрибсдшного. Все работает 100%. Проверь права на директории командой "ls -l <path_to_dir>. Смотри, чтобы были права на чтение. Тогда их будет видно
|
|
|