Samba配置(window访问)

security = user

passdb backend = smbpasswd

smbpasswd file = /etc/samba/smbpasswd

pam password change = yes

#idmap uid= 167777216-33554431

#idmap gid= 167777216-33554431

#template shell = /bin/false
#winbind use default domain = no

文件末尾追加

[public]

comment  = samba server

path = /home/%m

public = no

writeable = yes

posted @ 2016-04-13 11:10  EvilBaby  阅读(212)  评论(0编辑  收藏  举报