Ubuntu 14.04 配置samba:
安装略
# vi /etc/samba/smb.conf
security = user (在[global]下任意添加)
[share]
path = /home/share
browseable = yes
writable = yes
valid users = ming.yang
:wq
# service smbd restart
# smbpasswd -a ming.yang (创建ming.yang samba账号并设置密码)
删除samba账号是:smbpasswd -x ming.yang