Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[Samba] Change idle timeout

460 views
Skip to first unread message

Robson Paniago de Miranda

unread,
Feb 26, 2010, 3:40:01 PM2/26/10
to
Hi,

We are using a samba server as a NTLM authenticator for our web filter.
However, Samba closes the SMB connections after 60 seconds of inactivity,
causing connections from the web filter to the Samba DC to get stuck in
CLOSE_WAIT state, and failing to authenticate the users.

Is the some way, other than changing IDLE_CLOSED_TIMEOUT, or (in Samba
3.0.23) commenting the check that closes the TCP connection if there is no
connections active and a timeout bigger than IDLE_CLOSED_TIMEOUT, to keep
the TCP connections opened, despite the inexistence of open pipes or
connections?

Att,
Robson Paniago
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba

Volker Lendecke

unread,
Feb 26, 2010, 5:30:01 PM2/26/10
to
On Fri, Feb 26, 2010 at 05:29:47PM -0300, Robson Paniago de Miranda wrote:
> However, Samba closes the SMB connections after 60 seconds of inactivity,
> causing connections from the web filter to the Samba DC to get stuck in
> CLOSE_WAIT state, and failing to authenticate the users.
>
> Is the some way, other than changing IDLE_CLOSED_TIMEOUT, or (in Samba
> 3.0.23) commenting the check that closes the TCP connection if there is no
> connections active and a timeout bigger than IDLE_CLOSED_TIMEOUT, to keep
> the TCP connections opened, despite the inexistence of open pipes or
> connections?

That's at least what the "dead time" parameter is supposed
to solve.

Volker

signature.asc

Robson Paniago de Miranda

unread,
Feb 26, 2010, 9:50:01 PM2/26/10
to
Hi,

As far as I can tell, deadtime sets the time of inactivity when there are at
least one share or pipe opened, which is not the case - there are no
resources in use.

BTW, I already tried with deadtime=0.

Robson

Em 26/02/2010 19:21, "Volker Lendecke" <Volker....@sernet.de>escreveu:

On Fri, Feb 26, 2010 at 05:29:47PM -0300, Robson Paniago de Miranda wrote:

> However, Samba closes t...


That's at least what the "dead time" parameter is supposed
to solve.

Volker

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkuISVoACgkQbZMKAi3WUklStgCgkJYywfm2SfKgKqRJcpK/JBmh
2p8An2RrrcIdj/41aDFBob70RD3D1TZX
=U1Zv
-----END PGP SIGNATURE-----

0 new messages