Link to home
Start Free TrialLog in
Avatar of __init__
__init__

asked on

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.
Avatar of jlevie
jlevie

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?
Avatar of __init__

ASKER

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.
ASKER CERTIFIED SOLUTION
Avatar of jlevie
jlevie

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Yes but... I am only experiencing this problem with one linux machine ;)  Anyway, thanks
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.
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.