# Samba config file created using SWAT
# from 127.0.0.1 (127.0.0.1)
# Date: 2004/10/12 13:49:15
# Global parameters
[global]
dos charset = CP936
unix charset = GBK
display charset = CP936
workgroup = MAGICLINUX
server string = Magic Linux Desktop
log file = /var/log/samba/%m.log
max log size = 50
server signing = Auto
socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192
printcap name = cups
preferred master = no
domain master = no
dns proxy = no
ldap ssl = No
valid users = 4078
printing = cups
map to guest = Bad User
restrict anonymous = no
guest ok = yes
max protocol = NT
security = share
[homes]
comment = Home Directories
read only = No
browseable = No
[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No
我把原来的smb.conf删了,重写一个,竟然行了
[global]
map to guest = Bad User
restrict anonymous = no
guest ok = yes
domain master = no
preferred master = no
max protocol = NT
ldap ssl = No
server signing = Auto
security = share
guest account = share
display charset = CP936
unix charset = CP936
dos charset = CP936