歡迎您光臨本站 註冊首頁

smbclient 錯誤「tree connect failed: NT_STATUS_BAD_NETWORK_NAME」 如何解決?

我的系統是centos5.1 64位;
當我配置完samba后使用如下命令:
smbclient //192.168.18.3/tom -U tom
但總是報告:
Domain= OS= Server=
tree connect failed: NT_STATUS_BAD_NETWORK_NAME

我的口令肯定是正確的;因為我使用如下命令可以成功登錄:
smbclient //192.168.18.3/tmp -U tom

請問我為什麼不能登錄自己的home目錄?

testparm -s 結果如下:


        server string = TestServer
        passdb backend = tdbsam
        username map = /etc/samba/smbusers
        cups options = raw


        comment = Home Directories
        valid users = %U
        read only = No
        create mask = 0755
        browseable = No


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


        path = /tmp
        guest ok = Yes
《解決方案》

在windows下\\192.168.18.3能夠正常訪問嗎?將TCP/IP下wins設置里選中啟用TCP/IP上的netbios,我當初是在windows下通過UNC訪問無法訪問,改成上面的設置后可以訪問的,不知道對你有沒有用:em03: :em03: :em03:
《解決方案》

謝謝,我已經解決了; 我關閉了SELINUX;

[火星人 ] smbclient 錯誤「tree connect failed: NT_STATUS_BAD_NETWORK_NAME」 如何解決?已經有1967次圍觀

http://coctec.com/docs/service/show-post-32411.html