免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1746 | 回复: 1
打印 上一主题 下一主题

smb.conf 语法错误....... [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-12-20 21:47 |只看该作者 |倒序浏览
  1. ####  smb.conf  ####
  2. [global]
  3. unix charset=gb2312 ## !!!
  4. null passwords = yes
  5. bind interfaces only = yes
  6. map to guest = Bad Password
  7. encrypt passwords = yes
  8. stat cache size = 128
  9. server string = mov
  10. getwd cache = yes
  11. workgroup = workgroup
  12. protocol = NT1
  13. netbios name = mov
  14. socket options = TCP_NODELAY SO_RCVBUF=32768 SO_SNDBUF=32768
  15. read size = 32768
  16. security = share
  17. client code page = 936 ##  !!!
  18. os level = 30
  19. auto services = global
  20. host msdfs = yes

  21. #########################
  22. [admin]
  23.    path = /disk
  24.    writable = yes
  25.    valid users = admin
  26.    public = no
  27. 。。。。。
复制代码


调试平台    mandrake 10.0  
                  Redhat AS4

testparm .........
提示如下:

Load smb config files from /etc/samba/smb.conf


Unknown parameter encountered: "unix charset"
Ignoring unknown parameter "unix charset
Unknown parameter encountered: "stat cache size"
Ignoring unknown parameter "stat cache size
Unknown parameter encountered: "client code page"
Ignoring unknown parameter "client code page
Unknown parameter encountered: "read size "
Ignoring unknown parameter "read size

论坛徽章:
0
2 [报告]
发表于 2005-12-21 14:05 |只看该作者
版本升级了,有些老的参数不再支持了
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP