由 ouzi770 在 05-31-2003 01:18 发表:
看看我这样配置samba.config行不行?
第一次配置samba,什么都不懂,按照linuxfans的方法依样画葫芦弄了一下,还望热心人给我看看,随便指点指点,谢谢:)还想问一下哪有配置webmin的相关文章?
#======================= Global Settings =====================================
[global]
workgroup =MSHOME
create mask = 0755
directory mask = 0755
client code page = 936
name resolve order = host wins bcast lmhosts
local master = yes
domain master = yes
preferred master = yes
domain logons = yes
; logon script = %m.bat
; logon script = %U.bat
announce version = 5.0
announce as = Windows NT Enterprise Edition 5.0
log file = /var/log/samba/log.%m
max log size = 50
; interfaces = 192.168.20.8/24 211.148.130.133/28
deadtime = 5
hosts allow = 127.0.0. 192.168.20. 192.168.30. 211.148.130.128/255.255.255.240
hosts deny = all
veto files = /.eml/.nws/riched20.dll/.bat/.scr/*.pif/
dont descend = /proc, /dev
dos filetime resolution = True
; preexec = csh -c echo "Welcome to %S!" | smbclient -M %m -I %I &
printcap name = /etc/printcap
load printers = yes
printing = lprng
max log size = 0
security = share
; null passwords = yes
unix password sync = Yes
passwd program = /usr/bin/passwd %u
passwd chat = Newpassword* %n\n Retypenewpassword %n\n passwd:allauthenticationtokensupdatedsuccessfully*
; obey pam restrictions = yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
wins support = yes
; wins proxy = yes
dns proxy = no
#============================ Share Definitions ==============