Koozali.org: home of the SME Server

Strange behaviour of samba

Nico Blok

Strange behaviour of samba
« on: December 10, 2003, 09:26:40 AM »
Hi all,

I've got the following problem with connecting to samba shares from a XP-Pro station.

It take's a long time (20 sec) to connect to a share and the connection speed is also slow (with moving files for instance). The XP-station is member of the domain. Another client runs ok (Win2K wich is also a member of the domain) and also another XP-station connects without problems (this machine isn't a domain-member). From these clients the connection to the problem machine runs also fine. I'm using DHCP for al settings.

The problem XP-station was part of the domain before but then i moved the pc to another company for a couple of months to do my job there (I'm a contractor). Now that job is finished and i atached the XP-station back to my own network and added the pc to the domain. Now the connections of samba are terrible slow. I also tried to use a different NIC, but then i have the same problems. I think other connections are running ok like POP3 and FTP.

Has anyone suggestions wat this problem might be? I'm using SME 5.6 with the latest updates.

Anthony McCarthy

Re: Strange behaviour of samba
« Reply #1 on: December 11, 2003, 06:33:02 PM »
I have seen similar problems for several years (!) with Samba, SME 5.5
and the latest updates.  I have flailed around looking for solutions
and have not been able to find any :(

misery loves company!

Anthony

Chuck Landress

Re: Strange behaviour of samba
« Reply #2 on: December 11, 2003, 07:58:59 PM »
I've had this problem in the past.  You might look at your NIC settings on your XP machine.  Specifically, you might be set to Full duplex when you need to be set to half.  For short bursts, Full duplex on a hub will work ok, but long transfers will be bad.  Look for collisions on your network hub.  If you see the collision light on a lot then try setting your NIC to half duplex and see if that works better.  You'll usually find that setting in the "advanced" settings.

Nico Blok

Re: Strange behaviour of samba
« Reply #3 on: December 11, 2003, 10:09:21 PM »
I don't have collisions on the switch. I'm using a gigabit connection.

Nico Blok

Re: Strange behaviour of samba
« Reply #4 on: December 11, 2003, 10:09:33 PM »
I don't have collisions....

Grub

Re: Strange behaviour of samba
« Reply #5 on: December 12, 2003, 12:47:53 AM »
It's more that it's waiting for something...did you changed the smb.conf file, or the tcp/ip settings in windows (like wins settings) ?

Nico Blok

Re: Strange behaviour of samba
« Reply #6 on: December 12, 2003, 07:42:00 AM »
The only thing on the smb.conf what i've changed was to add my username to the administrators. I didn't chang anything on the tcp/ip settings. To confirm:
The list with the WINS-adresses is empty. LMHOSTS-lookup is marked as active, and the netbios setting is set to default.
On the DNS-tab everything is also the as the other machines.

Robert Heaton

Re: Strange behaviour of samba
« Reply #7 on: December 12, 2003, 04:47:49 PM »
Hello,

I had this problem with XP and sme 5.6, I found that re-installing the original version of samba that came with sme 5.6 worked.

Or if it's a new install don't install the samba updates.

Rob.

Nico Blok

Re: Strange behaviour of samba
« Reply #8 on: December 12, 2003, 05:52:53 PM »
How do i do that?

Nico Blok

Re: Strange behaviour of samba
« Reply #9 on: December 15, 2003, 09:37:22 AM »
I tried to get my data of the server. Now the FTP-connection is also very badly trough my LAN (50 KB/s). I did a ifconfig and everything seems to be fine. All my other machines in my LAN has also very bad connections to the server.

PLEASE HELP!!

I had the bandwith-control installed from dungog.net. I removed it with rpm -e, but no difference.

Robert Heaton

Re: Strange behaviour of samba
« Reply #10 on: December 15, 2003, 04:49:27 PM »
Hello,

Copy the all the samba RPM's from the 5.6 CD to an ibay, these are;

Samba
Samba-client
Samba-common

Then login to your server via ssh.

Navigate to the ibay where you saved the files. (/home/e-smith/files/ibays/IBAYNAME/files)

Then type: rpm -Uvh --force --nodeps samba*.rpm
Wait for the process to finish and drop you back to the command line. Then reboot your server.

Hope this helps,
Rob.