首页 > 代码库 > samba 配置

samba 配置

Centos 6.6

1.vi /etc/selinux/config
SELINUX=disabled
reboot
2.service iptables stop

3.smbpasswd -a leave

4.vi /etc/samba/smb.conf

[public]
security = share

[leave]
comment = leave
path = /home/leave
browseable = yes
writable = yes
guest ok = yes
public = yes

5.service smb restart 

service nmb restart

 

samba 配置