The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Special Forums > IP Networking
.
google unix.com



IP Networking Learn TCP/IP, Internet Protocol, Routing, Routers, Network protocols in this UNIX and Linux forum.

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 09:27 PM
scp is slow tomstone_98 UNIX for Dummies Questions & Answers 1 07-26-2007 09:33 AM
Slow FTP & SMB rockboles UNIX for Dummies Questions & Answers 4 12-11-2005 06:52 PM
ls -l over NFS slow keelba UNIX for Advanced & Expert Users 3 01-21-2004 07:17 AM
CPU slow down Henrik UNIX for Dummies Questions & Answers 4 11-21-2002 04:26 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
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 04:13 PM..
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 10-08-2001
Neo's Avatar
Neo Neo is online now Forum Staff  
Administrator
 

Join Date: Sep 2000
Location: Asia Pacific
Posts: 5,894
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 (permalink)  
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 (permalink)  
Old 10-08-2001
Neo's Avatar
Neo Neo is online now Forum Staff  
Administrator
 

Join Date: Sep 2000
Location: Asia Pacific
Posts: 5,894
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 (permalink)  
Old 10-09-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 (permalink)  
Old 10-09-2001
Neo's Avatar
Neo Neo is online now Forum Staff  
Administrator
 

Join Date: Sep 2000
Location: Asia Pacific
Posts: 5,894
My first guest would be a problem with the way SSL is working within Samba.
Reply With Quote
  #7 (permalink)  
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

Bookmarks

Tags
linux

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:




All times are GMT -4. The time now is 07:35 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66