LinuxSir.cn,穿越时空的Linuxsir!

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

samba问题,不解

[复制链接]
发表于 2005-5-9 16:48:54 | 显示全部楼层 |阅读模式
装了samba和smbclient可是smbclient连不上那台装双网卡的服务器
我的机子名是donkey,
donkey:/home/donkey/movie# smbclient -L //Donkey
Password:
Domain=[CL07] OS=[Unix] Server=[Samba 3.0.14a-Debian]

        Sharename       Type      Comment
        ---------       ----      -------
        print$          Disk      Printer Drivers
        temp            Disk      Sharing folder
        IPC$            IPC       IPC Service (Debian)
        ADMIN$          IPC       IPC Service (Debian)
        lp              Printer   Generic dot-matrix printer entry
Domain=[CL07] OS=[Unix] Server=[Samba 3.0.14a-Debian]

        Server               Comment
        ---------            -------
        CHENHUA622           chenhua622
        DONKEY               Debian

        Workgroup            Master
        ---------            -------
        CL07                 CHENHUA622
最后一行是不是指出workgroup Cl07的服务器名叫CHENHUA622(实际上也是)
于是我试了能不能连上CHENHUA622
donkey:/home/donkey/movie# smbclient -L //CHENHUA622
timeout connecting to 159.226.36.213:445
timeout connecting to 159.226.36.213:139
Error connecting to 159.226.36.213 (Operation already in progress)
Connection to CHENHUA622 failed
没能连上,可是我觉得就算不能连上 IP也不应该是159.226.36.213,而是局域网的192.168.0.1呀,是不是那地方要改interface?

附上testparm
donkey:/home/donkey/movie# testparm
Load smb config files from /etc/samba/smb.conf
Processing section "[homes]"
Processing section "[printers]"
Processing section "[print$]"
Processing section "[temp]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions

# Global parameters
[global]
        workgroup = CL07
        server string = Debian
        security = SHARE
        log file = /var/log/samba/log.%m

[homes]
        comment = Home Directories
        create mask = 0700
        directory mask = 0700
        browseable = No

[printers]
        comment = All Printers
        path = /tmp
        create mask = 0700
        printable = Yes
        browseable = No

[print$]
        comment = Printer Drivers
        path = /var/lib/samba/printers

[temp]
        comment = Sharing folder
        path = /tmp
        read only = No
        guest ok = Yes
请问哪地方出了问题,谢谢
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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