日期:2014-05-16 浏览次数:20631 次
[global]
# workgroup name, it's same in the whole share network
workgroup = WORKGROUP
# server string is the equivalent of the NT Description field
server string = Samba Server
# the server's netbios name
netbios name = SAMBASERVER
# Security mode.
security = user
# can guest account visit
public = yes
# can guest account browse shared resource
browseable = yes
# do not load printers
load printers = no
# hide printers
disable spoolss = yes
# disable logging features
log level = 0
# this tells Samba to use a separate log file for each user that signed in
log file = /var/log/samba/log.%U
# Put a capping on the size of the log files (in Kb).
max log size = 256
# Backend to store user information in
passdb backend = tdbsam
unix charset = CP936
dos charset = cp936
display charset = CP936
[root]
path=/
browseable=yes
public=no
writable=yes
valid users=root
create mask=0766
directory