一、配置如下,linux端一切就绪,但是win7连不上。

[share]

comment=this is Linux share directory

path=/

public=yes

writable=yes

解决:防火墙关闭  service iptables stop


二、配置同上,win7可以连接。在linux根目录下新建目录,及时权限为777在win7也不能访问。


解决:关闭selinux   vi /etc/sysconfig/selinux    将

SELINUX=enforcing   注释  #SELINUX=enforcing   

增加 SELINUX=disabled 

执行 setenforce 0