LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 12-12-2007, 11:19 AM   #1
crabber338
LQ Newbie
 
Registered: Nov 2005
Posts: 18

Rep: Reputation: 0
Samba - Issues with certain Windows machines.


Hi all.

I checked through some of the old posts, but couldn't find anything that seemed to help with my current problem. I've been using Samba for years without any issues, until recently. At this particular site, we have two Slackware machines with Samba that act as file-servers. They've been running with no hitches for several years. Recently, we upgraded one office to newer PC's, they have Windows XP SP2 on them (I skipped Vista, because it's horrible).

What happens is that I open a share on the samba server, and everything looks okay. As soon as I try clicking on a file to copy, cut, check properties, etc in the explorer window - It freezes for like 2-3 minutes. Then it finally starts moving again. Sometimes the whole computer freezes up with the need of a cold restart. I compiled the newest version of Samba and installed it on my Slackware machine, made a config from scratch and still see the same issue. I notice this happens more with large files (100 mb+) more than smaller files.

I tried checking issues with CUPS, changing from USER security to SHARE, etc. I even tried tweaking the Windows machines to omit firewalling, virus-checking. Anybody have any ideas, or a thread that already addresses this topic. I'm about to shoot these stupid machines out the window!

Thanks,

<rabber
 
Old 12-12-2007, 03:42 PM   #2
lindope
LQ Newbie
 
Registered: Aug 2007
Location: Washington State
Distribution: openSUSE 10.3 & 11.0
Posts: 9

Rep: Reputation: 0
I've been fighting the same type of problems the last couple days and got it resolved by setting the IP address on the XP machine manually.

Is your Samba using WINS?

Also make sure to remove the "msdfs proxy = " setting from your smb.conf and make sure "encrypt passwords = yes" is there

If you post your smb.conf I may be able to give you further ideas.

Otherwise, these are geared towards openSUSE, but they may help with the XP side of things:
http://www.tweakhound.com/linux/samba/page_1.htm
http://www.swerdna.net.au/linhowtolanprimer.html#nicwin
 
Old 12-13-2007, 07:15 AM   #3
crabber338
LQ Newbie
 
Registered: Nov 2005
Posts: 18

Original Poster
Rep: Reputation: 0
Thanks for replying -

Yeah, I'm afraid the current config is rather simple, because I'm trying to work this out before going to production. I am seeing the same problem with even the simplest config.


[global]

[Test]
path = /HDB/Bldg1

I did modify the buffer sizes as well and also turned off Large Read/Write once. I see the exact same symptom every time.

It's funny you mentioned WINS, because that's one thing I've been looking into myself. I'm going to try what you suggested, and also try a static IP. This of course will be impossible to implement for our office, but at least I could pinpoint the issue.
 
Old 12-13-2007, 07:21 AM   #4
crabber338
LQ Newbie
 
Registered: Nov 2005
Posts: 18

Original Poster
Rep: Reputation: 0
I just tried a static address and it didn't work. BTW, encrypted passwords is a default on my compilation of Samba, if you are wondering why it's not in global.
 
Old 12-13-2007, 09:03 AM   #5
crabber338
LQ Newbie
 
Registered: Nov 2005
Posts: 18

Original Poster
Rep: Reputation: 0
Hello all,

I think I figured out what's going on in my case. The new computers come with a trial version of Anti-Virus - When I uninstalled the software the samba shares updated much quicker than before. Just turning it off didn't make a difference. It seems to be connected with changes it makes to the windows explorer. FYI - This slowdown was also apparent on windows shares that had large files. This is what lead me to the conclusion that it was an application on the client.

The other problems seen with slow browsing (on other PC's) went away with the current version of Samba. Although these never froze up the client like the problem I was having with the new machines.

Here's a link for anyone that needs help on Samba issues - http://samba.org/samba/docs/man/Samb....html#id350927

Looks like applications like Anti-Virus, etc should be added to this list of slowdowns.

Hope this helps somebody else.
 
Old 12-13-2007, 03:12 PM   #6
lindope
LQ Newbie
 
Registered: Aug 2007
Location: Washington State
Distribution: openSUSE 10.3 & 11.0
Posts: 9

Rep: Reputation: 0
out of curiosity, what was the trial anti-virus program?
 
Old 12-13-2007, 03:21 PM   #7
nthulasidaran
LQ Newbie
 
Registered: Dec 2007
Posts: 3

Rep: Reputation: 0
I am having fedora core2 system and windows xp system. How can i open the windows shared folders from fedora core2
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Cannot connect to Samba Server share from windows 2000 or xp pro machines dan98 Linux - Newbie 1 10-09-2007 05:14 PM
Cannot Access Samba From Windows Machines onyangoliech Linux - Networking 3 09-20-2006 07:42 AM
Samba shares and windows machines lacitpo Linux - Software 2 02-26-2005 12:56 AM
Nautilus SAMBA and Windows Machines b3<k Linux - Networking 6 06-17-2004 02:16 AM
problem seeing Samba server from Windows machines kenviro Linux - Networking 11 08-18-2003 12:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:34 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration