LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
12
返回列表 发新帖
楼主: 寒冰

各位老鸟帮我看看smb.conf配置可有什么错误?

[复制链接]
发表于 2005-10-21 20:39:34 | 显示全部楼层
我也遇到了这样的情况, 但是我觉得可能是window xp的组策略的问题.
回复 支持 反对

使用道具 举报

发表于 2005-10-21 20:48:04 | 显示全部楼层
全部设置成workgroup试试
回复 支持 反对

使用道具 举报

发表于 2005-10-22 00:04:29 | 显示全部楼层
Post by 寒冰
都照你说的做了,可是问题依旧啊

on your samba server (not from your windows client), do this:

  1. 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.
回复 支持 反对

使用道具 举报

发表于 2005-10-23 11:50:04 | 显示全部楼层
Post by yongjian
on your samba server (not from your windows client), do this:

  1. 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
回复 支持 反对

使用道具 举报

发表于 2005-10-23 13:12:39 | 显示全部楼层
Post by szkaimi
我的是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

post your
  1. netstat -tanple
复制代码
, also make sure you do have samba up.
回复 支持 反对

使用道具 举报

发表于 2005-10-23 17:36:21 | 显示全部楼层
Post by yongjian
post your
  1. netstat -tanple
复制代码
, also make sure you do have samba up.


是为了看服务是否起来了么,我用lsof -i:139输出如下:
回复 支持 反对

使用道具 举报

发表于 2005-10-23 17:37:07 | 显示全部楼层
Post by yongjian
post your
  1. netstat -tanple
复制代码
, also make sure you do have samba up.


是为了看服务是否起来了么,我用lsof -i:139输出如下:
COMMAND PID USER   FD   TYPE DEVICE SIZE NODE NAME
smbd    518 root    9u  IPv4   3865       TCP *:netbios-ssn (LISTEN)
回复 支持 反对

使用道具 举报

发表于 2005-10-24 12:27:51 | 显示全部楼层
我也遇类似问题, 而且window 2000可以正常访问, 只有xp不行, 这是为什么?
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表