先生们,
我尝试了使用SAMBA在OpenSUSE 13.1上共享文件夹的所有方法,但没有成功。坦率地说,我不知道如何解决这种情况。
在我的行动中采取了......
- 停止防火墙
这些程序是否载于:
我可以使服务器正常工作并且没有错误,包括其参数(testparm),但我无法使用“smb:// [MACHINE_IP] / [SHARE_NAME]”或“\ [MACHINE_IP]从另一台机器(Linux或Windows)访问它] [SHARE_NAME]“!我还测试了使用机器本身。
似乎没有什么能使桑巴工作。在其他发行版中应该是简单而普通的东西变成了一场噩梦。我开始认为这是发行本身的一个问题!
我无法想象可以做些什么!= /
请帮我!
提前致谢!
更多!
下面我把smbd和nmbd日志的输出!
这些日志涵盖了当我尝试从另一台计算机访问共享时启动服务的时间!
vim /var/log/samba/log.smbd
[2014/02/10 11:58:31, 0] ../source3/smbd/server.c:1198(main)
smbd version 4.1.3-3.12.1-3127-SUSE-oS13.1-x86_64 started.
Copyright Andrew Tridgell and the Samba Team 1992-2013
[2014/02/10 11:58:31.412297, 0] ../source3/smbd/server.c:1278(main)
standard input is not a socket, assuming -D option
vim /var/log/samba/log.nmbd
[2014/02/10 11:58:26, 0] ../source3/nmbd/nmbd.c:902(main)
nmbd version 4.1.3-3.12.1-3127-SUSE-oS13.1-x86_64 started.
Copyright Andrew Tridgell and the Samba Team 1992-2013
[2014/02/10 11:58:26, 0] ../source3/nmbd/nmbd.c:941(main)
standard input is not a socket, assuming -D option
“iptables --list”结果:
Chain INPUT (policy DROP)
target prot opt source destination
ACCEPT all -- anywhere anywhere
ACCEPT all -- anywhere anywhere ctstate ESTABLISHED
ACCEPT icmp -- anywhere anywhere ctstate RELATED
input_ext all -- anywhere anywhere
LOG all -- anywhere anywhere limit: avg 3/min burst 5 LOG level warning tcp-options ip-options prefix "SFW2-IN-ILL-TARGET "
DROP all -- anywhere anywhere
Chain FORWARD (policy DROP)
target prot opt source destination
LOG all -- anywhere anywhere limit: avg 3/min burst 5 LOG level warning tcp-options ip-options prefix "SFW2-FWD-ILL-ROUTING "
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
ACCEPT all -- anywhere anywhere
Chain forward_ext (0 references)
target prot opt source destination
Chain input_ext (1 references)
target prot opt source destination
ACCEPT udp -- anywhere anywhere PKTTYPE = broadcast udp dpt:netbios-ns
ACCEPT udp -- anywhere anywhere PKTTYPE = broadcast udp dpt:netbios-dgm
DROP all -- anywhere anywhere PKTTYPE = broadcast
ACCEPT icmp -- anywhere anywhere icmp source-quench
ACCEPT icmp -- anywhere anywhere icmp echo-request
ACCEPT udp -- anywhere anywhere udp spt:netbios-ns ctstate RELATED
LOG tcp -- anywhere anywhere limit: avg 3/min burst 5 tcp dpt:netbios-ssn flags:FIN,SYN,RST,ACK/SYN LOG level warning tcp-options ip-options prefix "SFW2-INext-ACC-TCP "
ACCEPT tcp -- anywhere anywhere tcp dpt:netbios-ssn
LOG tcp -- anywhere anywhere limit: avg 3/min burst 5 tcp dpt:microsoft-ds flags:FIN,SYN,RST,ACK/SYN LOG level warning tcp-options ip-options prefix "SFW2-INext-ACC-TCP "
ACCEPT tcp -- anywhere anywhere tcp dpt:microsoft-ds
ACCEPT udp -- anywhere anywhere udp dpt:netbios-ns
ACCEPT udp -- anywhere anywhere udp dpt:netbios-dgm
DROP all -- anywhere anywhere PKTTYPE = multicast
DROP all -- anywhere anywhere PKTTYPE = broadcast
LOG tcp -- anywhere anywhere limit: avg 3/min burst 5 tcp flags:FIN,SYN,RST,ACK/SYN LOG level warning tcp-options ip-options prefix "SFW2-INext-DROP-DEFLT "
LOG icmp -- anywhere anywhere limit: avg 3/min burst 5 LOG level warning tcp-options ip-options prefix "SFW2-INext-DROP-DEFLT "
LOG udp -- anywhere anywhere limit: avg 3/min burst 5 ctstate NEW LOG level warning tcp-options ip-options prefix "SFW2-INext-DROP-DEFLT "
DROP all -- anywhere anywhere
Chain reject_func (0 references)
target prot opt source destination
REJECT tcp -- anywhere anywhere reject-with tcp-reset
REJECT udp -- anywhere anywhere reject-with icmp-port-unreachable
REJECT all -- anywhere anywhere reject-with icmp-proto-unreachable
结论到目前为止:
我工作的公司网络的一些特性是阻止访问Samba OpenSUSE 13.1,因为在我的家庭网络中,samba工作得很好。
OpenSUSE 13.1使用NAT网络在VMWare上运行。在我看来,不应该受到来自外部网络的任何干扰,因为我正在使用NAT。
我在VMWare上使用NAT运行Linux Mint 16 KDE的其他虚拟机。Samba在我的家庭网络和企业网络中都运行良好,这使我相信这是在openSUSE 13.1中采取的一些配置,以使samba工作。
下面我将运行“smbclient”的输出放在我的主机上两个虚拟机:
smbclient //172.16.124.141/share -N -U'brlight%brlight'
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.6.18]
smb: \>
smbclient //172.16.124.136/share -N -U'brlight%brlight'
protocol negotiation failed: NT_STATUS_IO_TIMEOUT
此链接包含有关我的问题的详细和其他信息。