QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 639|回复: 1

机器互联:WINXP+WINXP+LINUX9

[复制链接]
发表于 2004-6-23 11:57:08 | 显示全部楼层 |阅读模式
机器互联:WINXP+WINXP+LINUX9.0

winxp:名称:GM04,内网IP:169.254.100.45
winxp:名称:GM04,内网IP:169.254.100.X
LINUX:名称:localhost,内网IP:127.0.0.1
配置SAMBA后:

[root@localhost root]# smbclient -L 169.254.100.49
timeout connecting to 169.254.100.49:139
Error connecting to 169.254.100.49 (Operation already in progress)
Connection to 169.254.100.49 failed
[root@localhost root]# smbclient -L //GM05
Connection to GM05 failed


我的文件如下:青帮忙

# Samba config file created using SWAT
# from localhost.localdomain (127.0.0.1)
# Date: 2004/06/23 11:28:50

# Global parameters
[global]
        client code page = 936
        workgroup = MSHOME
        netbios name = LOCALHOST
        server string = Samba Server
        security = SHARE
        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 = 0
        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
        dns proxy = No
        hosts allow = 169.254.100.1 169.254.100.127
        printing = cups

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

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

[public]
        comment = Public Stuff
        path = /home/eastowen
        write list = @staff
        read only = No
        guest ok = Yes

[GM04]
        comment = GM04
        path = /home/GM04
        username = GM04
        valid users = GM04
        read only = No
        guest ok = Yes

[GM05]
        comment = GM05
        path = /home/GM05
        username = GM05
        valid users = GM05
        guest ok = Yes

[share]
        comment = win and linux share
        path = /share
        read only = No
        guest ok = Yes
发表于 2004-6-23 19:52:50 | 显示全部楼层
晕!localhost 127.0.0.1 那是本机ip,你先指定一个ip吧!
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-11-7 16:51 , Processed in 0.060219 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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