centos samba服务器配置
配置smb.conf文件
[share] path = /home/lee writable = yes
添加smb用户
smbpasswd -a root
启动smb服务
service smb restart
关闭防火墙
service iptables stop
设置SELinux
vi /etc/selinux/config
SELINUX=enforcing改为SELINUX=disabled为开机重启后不再执行
[share] path = /home/lee writable = yes
smbpasswd -a root
service smb restart
service iptables stop
vi /etc/selinux/config
SELINUX=enforcing改为SELINUX=disabled为开机重启后不再执行