[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 318
  • Last Modified:

win2k loses shares on timeout in samba domain

I have a linux server with samba 2.2 as a PDC with a couple of shared drives.  A win2k client connects to the server but after 5..10 minutes of inactivity loses its connection to shares (a little red cross in explorer).  When I try to open the shared drive, it gives a error, but after 2 or 3 attempts the connection reestablishes.  Another win2k machine seems not to have this problem.
0
__init__
Asked:
__init__
  • 3
  • 2
1 Solution
 
jlevieCommented:
If you only see this with a particular machine and not with other similar boxes it tends to sound like al problem with that w2k system, not with Samba. While there are possibilities for timeouts to be configured in Samba (e.g., deadtime) those apply server wide and should affect all clients. Does your smb.conf define deadtime?
0
 
__init__Author Commented:
This win2k box connects without problems with other win2ks, and with another linux.

deadtime isn't defined in smb.conf -- i think this should mean that it must never disconnect. Maybe I overlooked some other timeouts?

I tried to play with keepalive parameter without any effect.
0
 
jlevieCommented:
Since you are only experiencing the problem with one machine it pretty much can't be a Samba problem. I'd be looking at this w2k box to find out what wrong with it. It could be something a simple as a bad network connection or a complex and some software or dll that's been loaded.
0
NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

 
__init__Author Commented:
Yes but... I am only experiencing this problem with one linux machine ;)  Anyway, thanks
0
 
jlevieCommented:
Are you saying that this w2k box is the only client you've used to access the Samba server? If several clinets have used the Samba server and only one has problems it stands to reason that it most likely to be a client issue. But if you havent' tried other w2k clients against this Samba server you don't know where the problem is.
0
 
master_chrisCommented:
Had this problem once, and there was multiple versions of samba running.  after a couple of hours you would find 20 samba processes running..
Samba would die after about 2 minutes and no shares would work.

anyway i upgraded samba and it all worked fine.. Must of been the version.

0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now