当文件夹存在时,smbclient树连接失败nt_status_bad_network_name

时间:2017-08-30 13:33:30

标签: linux windows samba

当我尝试从samba输入windows中的特定文件夹时总会出现同样的错误,有人可以帮忙吗

有错误:

smbclient //CLOUDBOX/team/PS -Uuser%pass -c pwd
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.6.25]
tree connect failed: NT_STATUS_BAD_NETWORK_NAME

没有错误:

smbclient //CLOUDBOX/team/ -Uuser%pass -c pwd
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.6.25]
Current directory is \\SBSS-CLOUDBOX\team\

1 个答案:

答案 0 :(得分:0)

我找到了放置参数-D所需的答案,如下所示:

smbclient //CLOUDBOX/team/ -D "PS" -Uuser%pass -c pwd
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.6.25]
Current directory is \\SBSS-CLOUDBOX\team\PS