|
发表于 2006-11-10 12:47:26
|
显示全部楼层
少安毋躁,我的 Samba 配置文件,也许很简单而且可能安全性不怎么好,但是足够用了:
[PHP]
amdk6@hitachi:~$ cat /etc/samba/smb.conf
[global]
dos charset = CP936
unix charset = GB2312
workgroup = MSHOME
server string = Pentium MMX Laptop
security = SHARE
announce as = WfW
ldap ssl = no
create mask = 0644
[doc]
comment = some document files
path = /mnt/document/
read only = No
guest ok = Yes
[music]
comment = some document files
path = /mnt/music/
read only = No
guest ok = Yes
[pub]
comment = PUB dirctory, you can upload your files here
path = /home/pub/
read only = No
guest ok = Yes
amdk6@hitachi:~$
[/PHP] |
|