LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 755|回复: 4

在windows下为何不能访问linux下的共享目录?

[复制链接]
发表于 2003-9-7 22:18:18 | 显示全部楼层 |阅读模式
我的smb是这样的:
                         在RH9下可以访问windows2000。

                         在win2000下可以看到我的机器名,但不能访问.提示“找不到主机”

                         windows2000下的注册表与网络协议都已配置好.

--------------------------------------------------------------

# Global parameters
[global]
        client code page = 936
        netbios name = linux
        server string = Samba Server
        security = SHARE
        encrypt passwords = Yes
        map to guest = Bad User
        null passwords = Yes
        obey pam restrictions = Yes
        pam password change = Yes
        passwd program = /usr/bin/passwd %u
        passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
        unix password sync = Yes
        log file = /var/log/samba/%m.log
        max log size = 500
        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
        os level = 34
        wins proxy = Yes
        printing = cups

[homes]
        comment = Home Directories
        valid users = %S
        writeable = yes
        create mask = 0664
        directory mask = 0775
        browseable = No

[printers]
        comment = All Printers
        path = /var/spool/samba
        printable = Yes
        browseable = No

[mp3]
        comment = mp3
        path = /mnt/MultiMedia/我的音乐
        printable = no
        guest ok = yes

[game]
        comment = games
        path = /mnt/Games
        printable = no
        guest ok = yes
发表于 2003-9-7 22:28:35 | 显示全部楼层
会不会是你的防火墙设置:ask
 楼主| 发表于 2003-9-7 22:37:56 | 显示全部楼层
192.168.1.4 是我机器的IP

[root@linuxbody zw]# smbclient -L 192.168.1.4
added interface ip=192.168.1.4 bcast=192.168.1.255 nmask=255.255.255.0
session request to 192.168.1.4 failed (Not listening for calling name)
session request to 192 failed (Not listening for calling name)
session request to *SMBSERVER failed (Not listening for calling name)

什么原因?
发表于 2003-9-8 09:23:06 | 显示全部楼层
本机都不可以 :!!
那你的 smb有没有运行啊
netstat -a 看一看有没有netbios在。
 楼主| 发表于 2003-9-8 19:59:58 | 显示全部楼层
smb已经运行。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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