Bug 8601 - smbstatus does not reliably detect that a samba connection is in use.
Summary: smbstatus does not reliably detect that a samba connection is in use.
Status: RESOLVED WORKSFORME
Alias: None
Product: Samba 3.4
Classification: Unclassified
Component: Client Tools (show other bugs)
Version: 3.4.7
Hardware: x86 Linux
: P5 normal
Target Milestone: ---
Assignee: Volker Lendecke
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-11 14:52 UTC by Bob Harvey
Modified: 2011-11-12 12:08 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bob Harvey 2011-11-11 14:52:26 UTC
See https://bugs.launchpad.net/ubuntu/+source/samba/+bug/886953
See https://answers.launchpad.net/ubuntu/+source/samba/+question/176067

from the longer text in that report 'I cannot differentiate when samba is in use or idle when the client is Ubuntu, only when it is Windows.'

Nothing has happened to that report, so I am escalating here
Comment 1 Volker Lendecke 2011-11-11 18:57:01 UTC
Set the "deadtime" parameter on the server appropriately.
Comment 2 Bob Harvey 2011-11-11 21:00:36 UTC
OK, installed that.  It does force a disconnect.

The first time I try to reconnect I get an error "Unable to read", presumably the client doesn't know its friend has died.  The second time I connect OK.

Not been able to try that with a windows client, but it does resolve the problem with the ubuntu client.
Comment 3 Volker Lendecke 2011-11-12 07:33:53 UTC
Well, if the client can't deal with that it's a client bug. Your workaround is to remove the deadtime parameter again and live with the long-living connections. There's nothing Samba can do about that.
Comment 4 Bob Harvey 2011-11-12 12:08:09 UTC
Confirmed that the parameter change does not break connectivity from WinXP.

Thanks for the clue.