The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

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 07:52 PM
ls -l over NFS slow keelba UNIX for Advanced & Expert Users 3 01-21-2004 08:17 AM
CPU slow down Henrik UNIX for Dummies Questions & Answers 4 11-21-2002 05:26 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 10-07-2001
macdonto macdonto is offline
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..
  #2 (permalink)  
Old 10-08-2001
Neo's Avatar
Neo Neo is offline Forum Staff  
Administrator
  
 

Join Date: Sep 2000
Location: Asia Pacific
Posts: 6,655
How about other network application protocols between the two platforms such as FTP and telnet ? How is the connection speed for these applications?
  #3 (permalink)  
Old 10-08-2001
macdonto macdonto is offline
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.
  #4 (permalink)  
Old 10-08-2001
Neo's Avatar
Neo Neo is offline Forum Staff  
Administrator
  
 

Join Date: Sep 2000
Location: Asia Pacific
Posts: 6,655
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.
  #5 (permalink)  
Old 10-09-2001
macdonto macdonto is offline
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
  #6 (permalink)  
Old 10-09-2001
Neo's Avatar
Neo Neo is offline Forum Staff  
Administrator
  
 

Join Date: Sep 2000
Location: Asia Pacific
Posts: 6,655
My first guest would be a problem with the way SSL is working within Samba.
  #7 (permalink)  
Old 05-04-2008
jwmurphy jwmurphy is offline
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.
Sponsored Links
Closed Thread

Bookmarks

Tags
linux

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 03:01 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
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