|
|

楼主 |
发表于 2005-3-25 15:21:03
|
显示全部楼层
如下面:
[global]
display charset = CP936
encrypt passwords = yes
dos filetime resolution = yes
printing = cups
security = share
# = =========================== Share Definitions ==============================
dns proxy = no
# passdb backend = smbpasswd / tdbsam / ldapsam:ldap://ldap-server
log file = /var/log/samba/log.%m
passdb backend = smbpasswd
workgroup = OFFICE
null passwords = yes
# use password server option only with security = server
server string = Samba Server
nt acl support = no
dos charset = CP936
unix charset = GB18030
max log size = 50
netbios name = YORK
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
dos filetimes = yes
# workgroup = NT-Domain-Name or Workgroup-Name
#共享目录的设置
[Download]
comment =
writeable = no
guest ok = yes
path = "/root/Download"
guest account = root
valid users = root
[Mail]
comment =
writeable = no
guest ok = yes
path = "/root/Mail"
guest account = root
valid users = root
[York]
comment =
writeable = no
guest ok = yes
path = "/root/York"
guest account = root
valid users = root |
|