歡迎您光臨本站 註冊首頁

samba連接超慢

←手機掃碼閱讀     火星人 @ 2014-03-04 , reply:0

samba連接超慢

security =share時連接很快,security =user時,連接超慢,即輸入\\IP,等5分鐘才彈出登陸窗口,只是連接時慢,登陸后就快了,請問這個問題是為什麼?

smb.conf文件如下#======================= Global Settings =====================================

   workgroup = MYGROUP
   server string = Samba Server
   security =user
   client lanman auth=yes
   enable privileges=yes
   encrypt passwords = yes
#   smb passwd file=/usr/local/samba/private/smbpasswd

   socket options=TCP_NODELAY
   ldap admin dn="cn=manager,dc=my-domain,dc=com"
   passdb backend=ldapsam:ldap://192.168.128.137
   ldap ssl=off
   ldap suffix=dc=my-domain,dc=com
   
   client code page=936
   character set=936  

   load printers =no
   printing=bsd
   printcap name=/dev/null
   disable spoolss=yes
   log level=0
   log file = /usr/local/samba/var/log.%m
   max log size = 50
   dns proxy = no
#============================ Share Definitions ==============================
#
#   comment = Home Directories
#   browseable = no
#   writable = yes


   comment = Public Stuff
   path = /usr/home3
   public = yes
   writable = no
   printable = no
   write list = @staff


   comment = Mary's and Fred's stuff
   path = /usr/home4
   valid users =admin
   public = no
   writable = yes
   printable = no
   create mask = 0765

《解決方案》

ldap

就是你這個SAMBA的本機嗎?
如果不是請查看LDAP和SAMBA之間的網路,還有LDAP本身的問題。
《解決方案》

你DNS填寫正確,或者幹掉/etc/resolv.conf文件。就OK了。

[火星人 ] samba連接超慢已經有1164次圍觀

http://coctec.com/docs/service/show-post-14071.html