由 bluesinger 在 11-14-2002 21:21 发表:
配置smb.conf的小问题。。
我们有内部的ip,我的是10。32。2。97,同工作组的augustus的ip:
10.32.0.77.我们的主机10。32。0。1.
在smb.conf中,
我改了: hosts allow = 10.32.0. 10.32.1. 10.32.2 .127
保留了: interfaces = 192.168.12.2/24 192.168.13.2/24
remote announce = 192.168.1.255 192.168.2.44
这里是不是有矛盾啊?
然后运行:
root@localhost etc]# smbclient -L //augustus
added interface ip=10.32.2.97 bcast=10.32.63.255 nmask=255.255.192.0
added interface ip=172.16.77.1 bcast=172.16.77.255 nmask=255.255.255.0
added interface ip=192.168.206.1 bcast=192.168.206.255 nmask=255.255.255.0
Got a positive name query response from 10.32.0.77 ( 192.168.73.1 192.168.0.1 10.32.0.77 )
timeout connecting to 192.168.73.1:139
Connection to augustus failed
是不是192。168。和10。32。的问题?
我怎么解决?
由 gyabiter 在 11-15-2002 08:13 发表:
interface应该设为10.32.2.97吧!你试试
由 bluesinger 在 11-15-2002 13:32 发表:
改了以后:
[root@localhost root]# smbclient -L //augustus
added interface ip=10.32.2.97 bcast=10.32.63.255 nmask=255.255.192.0
added interface ip=172.16.77.1 bcast=172.16.77.255 nmask=255.255.255.0
added interface ip=192.168.206.1 bcast=192.168.206.255 nmask=255.255.255.0
Got a positive name query response from 10.32.0.77 ( 192.168.73.1 192.168.0.1 10.32.0.77 )
timeout connecting to 192.168.73.1:139
Connection to augustus failed
[root@localhost root]# smbclient -L//10.32.0.77
added interface ip=10.32.2.97 bcast=10.32.63.255 nmask=255.255.192.0
added interface ip=172.16.77.1 bcast=172.16.77.255 nmask=255.255.255.0
added interface ip=192.168.206.1 bcast=192.168.206.255 nmask=255.255.255.0
session request to 10.32.0.77 failed (Called name not present)
session request to 10 failed (Called name not present)
Password:
Domain=[MSHOME] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]
Sharename Type Comment
--------- ---- -------
E$ Disk 默认共享
My Documents Disk
IPC$ IPC 远程 IPC
D$ Disk 默认共享
SharedDocs Disk
G$ Disk 默认共享
本地磁盘 (G) Disk
F$ Disk 默认共享
ADMIN$ Disk 远程管理
C$ Disk 默认共享
Server Comment
--------- -------
AUGUSTUS augustus
CAT kestrel'cat
SPARK