1
2
3
4
5
6
7
8
9
10
11
12
13
$ aptitude install samba
$ vi /etc/samba/smb.conf
注释掉所有带pass字样的配置项
security = share

[fileserver]
comment = Jenson File Server
browseable = yes
path = /var/ftp
public = yes
writable = no
read only = yes
$ /etc/init.d/samba restart