免费注册 查看新帖 |

Chinaunix

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

[samba] samba连接超慢 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2011-08-29 16:47 |只看该作者 |倒序浏览
security =share时连接很快,security =user时,连接超慢,即输入\\IP,等5分钟才弹出登陆窗口,只是连接时慢,登陆后就快了,请问这个问题是为什么?

smb.conf文件如下
  1. #======================= Global Settings =====================================
  2. [global]
  3.    workgroup = MYGROUP
  4.    server string = Samba Server
  5.    security =user
  6.    client lanman auth=yes
  7.    enable privileges=yes
  8.    encrypt passwords = yes
  9. #   smb passwd file=/usr/local/samba/private/smbpasswd

  10.    socket options=TCP_NODELAY
  11.    ldap admin dn="cn=manager,dc=my-domain,dc=com"
  12.    passdb backend=ldapsam:ldap://192.168.128.137
  13.    ldap ssl=off
  14.    ldap suffix=dc=my-domain,dc=com
  15.    
  16.    client code page=936
  17.    character set=936  

  18.    load printers =no
  19.    printing=bsd
  20.    printcap name=/dev/null
  21.    disable spoolss=yes
  22.    log level=0
  23.    log file = /usr/local/samba/var/log.%m
  24.    max log size = 50
  25.    dns proxy = no
  26. #============================ Share Definitions ==============================
  27. #[homes]
  28. #   comment = Home Directories
  29. #   browseable = no
  30. #   writable = yes

  31. [public]
  32.    comment = Public Stuff
  33.    path = /usr/home3
  34.    public = yes
  35.    writable = no
  36.    printable = no
  37.    write list = @staff

  38. [myshare]
  39.    comment = Mary's and Fred's stuff
  40.    path = /usr/home4
  41.    valid users =admin
  42.    public = no
  43.    writable = yes
  44.    printable = no
  45.    create mask = 0765

复制代码

论坛徽章:
0
2 [报告]
发表于 2011-09-02 09:24 |只看该作者
提示: 作者被禁止或删除 内容自动屏蔽

论坛徽章:
0
3 [报告]
发表于 2011-09-03 15:03 |只看该作者
你DNS填写正确,或者干掉/etc/resolv.conf文件。就OK了。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP