|
|
发表于 2005-10-23 11:50:04
|
显示全部楼层
Post by yongjian
on your samba server (not from your windows client), do this:
- smbclient //localhost/your_share
复制代码
Should prompt your for the passwd, just hit enter and see if you can get into the share and traverse the dirs and files.
我的是debian系统,IP是202.115.30.162,如果用smbclient //localhost/tmp,会提示
added interface ip=202.115.30.162 bcast=202.115.30.255 nmask=255.255.255.0
added interface ip=192.168.1.1 bcast=192.168.1.255 nmask=255.255.255.0
timeout connecting to 127.0.0.1:139
Error connecting to 127.0.0.1 (Operation already in progress)
Connection to localhost failed
另外,运行win2k的PC的ip地址是202.115.30.159,在DEBIAN 上执行smbclient //202.115.30.159/就会提示输入密码。如果运行smbclient //202.115.30.162/,提示如下:
added interface ip=202.115.30.162 bcast=202.115.30.255 nmask=255.255.255.0
added interface ip=192.168.1.1 bcast=192.168.1.255 nmask=255.255.255.0
error connecting to 202.115.30.162:139 (Invalid argument)
Error connecting to 202.115.30.162 (Invalid argument)
Connection to 202.115.30.162 failed
为什么自己连自己就成了Invalid argument |
|