FreeBSD 7.0-RELEASE #0
samba-3.0.31_1,1
Из под Windows монтируются сетевые диски командами типа:
Код: Выделить всё
net use W: \\ftp\public
При этих же настройках захожу через Total Comander и получаю список папок буквально через 2 сек.
Проверял с 4 разных компов с Windows XP.
Самое интересное, что в сети ничего не менялось, причем сервер без особых изменений жил уже около года....
Вот конфиг самбы
Код: Выделить всё
[global]
dos charset = 866
unix charset = cp1251
display charset = cp1251
workgroup = GROUP
netbios name = FTP
server string = Share Server
interfaces = net0, net1
map to guest = Bad Password
null passwords = Yes
syslog = 0
log file = /var/log/samba/%I.log
max log size = 100
read raw = No
max xmit = 65535
name resolve order = wins lmhosts host bcast
time server = Yes
deadtime = 15
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 SO_KEEPALIVE SO_REUSEADDR SO_BROADCAST IPTOS_LOWDELAY IPTOS_THROUGHPUT
load printers = No
os level = 65
preferred master = No
local master = No
domain master = No
dns proxy = No
wins support = Yes
lock directory = /var/run/samba
hosts allow = 127., 172.,
preexec = "/ftp/bin/mkln %I"
[public]
comment = Public stuff
path = /ftp/pub
force group = nobody
guest ok = Yes
delete veto files = Yes
veto files = /.*/
[private]
comment = Private Movie stuff
path = /ftp/private
valid users = private
force group = nobody
delete veto files = Yes
veto files = /.*/
[cinema]
comment = Movie Club
path = /ftp/kino
valid users = kino
create mask = 0664
directory mask = 0775
guest ok = Yes
delete veto files = Yes
veto files = /.*/
[usr]
comment = Users Staff
path = /ftp/usr/
create mask = 0664
directory mask = 0775
guest ok = Yes
delete veto files = Yes
veto files = /.*/
[home]
comment = Home dir
path = /ftp/home/%I
force user = nobody
force group = Administrator
read only = No
create mask = 0664
directory mask = 0775
guest ok = Yes
delete veto files = Yes
veto files = /.*/
Код: Выделить всё
[2009/03/08 00:30:32, 0] nmbd/nmbd_winsserver.c:initialise_wins(643)
initialise_wins: Failed to parse time to live when parsing line "????''"'?--??#20" 1236738307 172.17.159.12 64R
[2009/03/08 00:30:32, 0] nmbd/nmbd_winsserver.c:initialise_wins(643)
[2009/03/08 00:04:38, 1] smbd/service.c:make_connection_snum(1033)
sshpk (172.17.133.15) connect to service cinema initially as user kino (uid=1028, gid=1028) (pid 47750)
[2009/03/08 00:04:38, 1] smbd/service.c:make_connection_snum(1033)
sshpk (172.17.133.15) connect to service public initially as user kino (uid=1028, gid=65534) (pid 47750)
[2009/03/08 00:04:38, 1] smbd/service.c:make_connection_snum(1033)
sshpk (172.17.133.15) connect to service home initially as user nobody (uid=65534, gid=1022) (pid 47750)
[2009/03/08 00:04:39, 1] smbd/service.c:make_connection_snum(1033)
sshpk (172.17.133.15) connect to service usr initially as user kino (uid=1028, gid=1028) (pid 47750)
[2009/03/08 00:28:47, 1] smbd/service.c:close_cnum(1230)
sshpk (172.17.133.15) closed connection to service usr
[2009/03/08 00:28:47, 1] smbd/service.c:close_cnum(1230)
sshpk (172.17.133.15) closed connection to service home
[2009/03/08 00:28:47, 1] smbd/service.c:close_cnum(1230)
sshpk (172.17.133.15) closed connection to service public
[2009/03/08 00:28:47, 1] smbd/service.c:close_cnum(1230)
sshpk (172.17.133.15) closed connection to service cinema
[2009/03/08 00:30:42, 1] smbd/service.c:make_connection_snum(1033)
sshpk (172.17.133.15) connect to service public initially as user kino (uid=1028, gid=65534) (pid 53536)
[2009/03/08 00:30:43, 1] smbd/service.c:make_connection_snum(1033)
sshpk (172.17.133.15) connect to service cinema initially as user kino (uid=1028, gid=1028) (pid 53536)