• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 320
  • 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
[Webinar] Kill tickets & tabs using PowerShell

Are you tired of cycling through the same browser tabs everyday to close the same repetitive tickets? In this webinar JumpCloud will show how you can leverage RESTful APIs to build your own PowerShell modules to kill tickets & tabs using the PowerShell command Invoke-RestMethod.

 
__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

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

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