LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-24-2004, 05:38 PM   #1
tisource
Member
 
Registered: Feb 2002
Posts: 322

Rep: Reputation: 30
Serious lag connecting to samba


After a number of weeks trying to solve this strange issue, I thought perhaps someone could point me in the right direction.

Our network is composed of a Windows 2003 domain controller. All workstations on the network are members of this windows domain. Then, there is a standalone samba 3 server, which is not a member of the domain. This is where the problem arises.

Any time any of the computers connect to this box, there is a serious lag, or delay before the server becomes available. For example, if someone tries to access the samba server via a UNC path, there is a 20-30 second delay before access is granted. If drive mappings are set up, any time "My Computer" is accessed (after a period of long inactivity), it lags for about 20-30 seconds before all the drives pop up.

My guess is that windows is waiting for a timeout because of incompatible communication of some kind. I've tried samba 2 and samba 3 with the same results. The CPU and memory resource on linux isn't to blame....the cpu averages less than 1% usage. If I connect to samba using a linux client, I don't get the lag at all.

I tried joining the linux/samba to the domain, but the "net join" command isn't found....I'm lost (there's another thread for that problem).

Is there a samba setting or a windows setting I can change to fix this lag? It's becoming a serious problem.

Thanks in advance, as usual.
 
Old 03-24-2004, 06:35 PM   #2
AutOPSY
Member
 
Registered: Mar 2004
Location: US
Distribution: Redhat 9 - Linux 2.6.3
Posts: 836

Rep: Reputation: 31
try adding the machine to the domain not just the samba client, stuff doesnt work like that in linux like in windows.

Linux=real servers and server applications
Windows=net join "catastrophy.net"
....joining domain
<OK!>

huhhu.
 
Old 03-24-2004, 08:58 PM   #3
tisource
Member
 
Registered: Feb 2002
Posts: 322

Original Poster
Rep: Reputation: 30
I'd like to, but I'm a bit confused on how to do that.

I was told I had to do a "net join <domain>" command, but when I type "net" at the linux command prompt, it says the command can't be found. I'm a bit confused. I installed the rpm's from samba.org's site. I've reinstalled all of the rpms. Same results. I'm not sure what I'm doing wrong here.

I recall doing the smbclient -j domain with earlier versions of samba, but I don't think that is going to help much in this case. I want to get the machine joined to active directory, but so far, that isn't going well.

Any tips or suggestions?
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba - Connecting from WinXP Pro to Samba running on Debian critical Linux - Networking 1 02-03-2005 09:36 AM
samba seeing, but not connecting shelbydz Linux - Networking 1 10-21-2004 05:28 PM
connecting to samba ejbest Linux - Newbie 3 10-17-2004 11:23 PM
Connecting with samba andystreet Linux - Networking 1 11-04-2003 07:37 PM
Samba not Connecting artman62 Linux - Networking 5 06-10-2002 10:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration