eastowen 发表于 2004-6-23 11:57:08

机器互联:WINXP+WINXP+LINUX9

机器互联: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后:

# 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
# 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

        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


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


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


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


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


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


        comment = win and linux share
        path = /share
        read only = No
        guest ok = Yes
:cry:

heku 发表于 2004-6-23 19:52:50

晕!localhost 127.0.0.1 那是本机ip,你先指定一个ip吧!
页: [1]
查看完整版本: 机器互联:WINXP+WINXP+LINUX9