QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 491|回复: 0

问个关于samba的问期 我的samba在网上邻居看见 ..

[复制链接]
发表于 2005-6-24 10:58:39 | 显示全部楼层 |阅读模式
但是为什么大不开呢

我的脚本文件
# This is the main Samba configuration file. You should read the
# smb.conf(5) manual page in order to understand the options listed
# here. Samba has a huge number of configurable options (perhaps too
# many!) most of which are not shown in this example
#
# Any line which starts with a ; (semi-colon) or a # (hash)
# is a comment and is ignored. In this example we will use a #
# for commentry and a ; for parts of the config file that you
# may wish to enable
#
# NOTE: Whenever you modify this file you should run the command "testparm"
# to check that you have not made any basic syntactic errors.
#
#======================= Global Settings =====================================
[global]
null passwords = yes
#bind interfaces only = yes
nt acl support = true
map to guest = Bad Password
encrypt passwords = yes
stat cache size = 128
server string = xasunsamba
getwd cache = yes
workgroup = workgroup
deadtime = 1
#shared mem size = xasunsamba
protocol = NT1
netbios name = xasunsamba
socket options = TCP_NODELAY SO_RCVBUF=32768 SO_SNDBUF=32768
read size = 32768
security = share
os level = 30
auto services = global

dos charset= cp936
[test1]
  read list = nobody
  valid users = nobody,@nobody
  writable = yes
  path = /11/test1
  write list = xasun
  public = yes

[test2]
  read list = nobody
  valid users = nobody,@nobody
  writable = yes
  path = /11/test2
  write list = xasun
  public = yes

[test3]
  read list = nobody
  valid users = nobody,@nobody
  writable = yes
  path = /test3/tv
  write list = xasun
  public = yes

[test4]
  read list = nobody
  valid users = nobody,@nobody
  writable = yes
  path = /11/test4
  write list = xasun
  public = yes

[uptest]
  read list = xasun
  valid users = xasun,@xasun
  writable = yes
  path = /11
  write list = xasun
  public =yes
您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-19 11:40 , Processed in 0.037140 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表