The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Special Forums > IP Networking
Google UNIX.COM


IP Networking Questions involving TCP/IP, Routers, Hubs, Network protocols, etc go here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Samba Slow to Connect Xp to Solaris ciscocbee IP Networking 1 05-19-2008 06:27 PM
scp is slow tomstone_98 UNIX for Dummies Questions & Answers 1 07-26-2007 06:33 AM
Slow FTP & SMB rockboles UNIX for Dummies Questions & Answers 4 12-11-2005 04:52 PM
ls -l over NFS slow keelba UNIX for Advanced & Expert Users 3 01-21-2004 05:17 AM
CPU slow down Henrik UNIX for Dummies Questions & Answers 4 11-21-2002 02:26 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 10-07-2001
Registered User
 

Join Date: Jul 2001
Location: Corvallis
Posts: 61
Samba Slow ?

Ok, i got samba up and running and can see the directories i want to be able to see on my network, but it is really slow. From a windows to windows transfer or file open it is just a little under a 100 mb connection. However it takes minutes just to open a file on the linux box.I have attached my conf file, but i do no think in it lies the answer...Please help Op RH 7.1

[global]
interfaces = 192.168.1.2
security = SHARE
null passwords = Yes
unix password sync = Yes
load printers = No
lm announce = True
domain master = Yes
unix realname = Yes
#ssl CA certDir=/usr/share/ssl/certs
ssl CA certFile = /usr/share/ssl/certs/ca-bundle.crt
socket options = TCP_NODELAY
hosts allow = 192.198.1.2 192.168.1.3
log file = /var/log/samba/%m.log
dns proxy = no -

Last edited by macdonto; 10-08-2001 at 01:13 PM.
Reply With Quote
Forum Sponsor
  #2  
Old 10-08-2001
Neo's Avatar
Neo Neo is offline
Administrator
 

Join Date: Sep 2000
Location: Asia Pacific
Posts: 4,441
How about other network application protocols between the two platforms such as FTP and telnet ? How is the connection speed for these applications?
Reply With Quote
  #3  
Old 10-08-2001
Registered User
 

Join Date: Jul 2001
Location: Corvallis
Posts: 61
No problems with telnet or ftp proto's. Good idea I had not tried that. I looked around and it is a common problem with most of the linux systems. I went to the samba documentation and they explain the problem but dont give any answers.
Reply With Quote
  #4  
Old 10-08-2001
Neo's Avatar
Neo Neo is offline
Administrator
 

Join Date: Sep 2000
Location: Asia Pacific
Posts: 4,441
Example config works fast for us.....

Here is our working samba conf file /etc/smb.conf

Quote:

[global]
workgroup = UNIX
encrypt passwords = yes
domain logons = yes
server string = Samba on UNIX
netbios name = ATHLON
hosts allow = 192.168.0.169 localhost
interfaces = 192.168.0.155/255.255.255.0
log level = 2
default service = data
local master = yes
wins support = yes
name resolve order = wins lmhosts hosts bcast
dns proxy = yes
security = user
os level = 34
preferred master = yes
domain master = yes

[homes]
browsable = no
writable = yes

[unix]
path = /usr/local/unix_files
valid users = unix, nobody, root
browseable = yes
comment = UNIX Disk on WWW.UNIX.COM
volume = UNIX-Disk
guest ok = yes
writeable = yes

[data]
path = /usr/local
browseable = yes
comment = Data Disk on WWW.UNIX.COM
volume = Data-Disk
guest ok = yes
writeable = yes

[netlogon]
comment = Domain Logon Service
path = /usr/local/samba/login
public = no
writeable = no
browsable = no
This configuration works fine (very fast).... is only one master controller (samba server) with a bunch of clients on the SAME subnet (ethernet segment). I would suggest you try something like this (without SSL) first to see if this is fast for you.
Reply With Quote
  #5  
Old 10-08-2001
Registered User
 

Join Date: Jul 2001
Location: Corvallis
Posts: 61
That worked...I just need to figure out what is wrong with mine now.

Thanks
Reply With Quote
  #6  
Old 10-09-2001
Neo's Avatar
Neo Neo is offline
Administrator
 

Join Date: Sep 2000
Location: Asia Pacific
Posts: 4,441
My first guest would be a problem with the way SSL is working within Samba.
Reply With Quote
  #7  
Old 05-04-2008
Registered User
 

Join Date: May 2008
Posts: 1
I'm reviving this ancient thread because I couldn't easily find an answer to this problem myself, so I hope this answer will help some people out.

I fixed the very slow loading of folders by adding this line:
Code:
name resolve order = wins lmhosts hosts
If you look in the Samba HOWTO Collection, you'll see that the default order is host, lmhost, wins, bcast. I think the crucial thing is to have wins first. Try for yourself, hope it helps, cheers.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Tags
linux

Thread Tools
Display Modes




All times are GMT -7. The time now is 05:56 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0