我有一个Ubuntu服务器(Hardy LTS)虚拟机,其中即时通讯试图通过桑巴共享一个文件夹。
我可以通过以下方式在当地上市股票:
smbclient -L localhost
但是在我的主机上使用类似的,其中xxx.xxx.xxx.xxx是Ubuntu IP(OS X):
smbclient -L //xxx.xxx.xxx.xxx -U myusername
我得到:
Connecting to xxx.xxx.xxx.xxx at port 139 error connecting to xxx.xxx.xxx.xxx:139 (Connection refused) Error connecting to xxx.xxx.xxx.xxx (Connection refused) lang_tdb_init: /usr/lib/samba/en_GB.UTF-8.msg: No such file or directory Connection to xxx.xxx.xxx.xxx failed (Error NT_STATUS_CONNECTION_REFUSED)
这是一个桑巴错误,或防火墙错误?
我的smb conf文件是默认的,有以下更改:
interfaces = xxx.xxx.xxx.xxx/8 eth0 security = user username map = /etc/samba/smbusers [homes] read only = no valid users = %S comment = Home Directories browseable = yes
如果它在本地工作,并且在外部接口上监听,则是防火墙或路由问题。