[jcifs] Connection Timeout

Michael B Allen mba2000 at ioplex.com
Mon Jan 30 18:20:16 GMT 2006

On Mon, 30 Jan 2006 09:10:20 -0500
"Tony Thompson" <tony.thompson at stone-ware.com> wrote:

> OK, I upgraded Samba to 3.0.20b-3.4-suse and I am still experiencing the
> same issue so, I suspect this is something I need to report to the Samba
> guys?  Something I have noticed is once Samba gets into this state, even
> a Windows client takes a long time to get connected but, it does
> connect.  Can something be done to jCIFS to make it more resilient it
> this situation?

Mmm, this looks like a bug in Samba but it's strange that it hasn't come
up before. Are you using anything out of the ordinary like a netware
authentication backend or something?

Also, if Windows eventually connects try increasing
jcifs.smb.client.responseTimeout=300000 (5 minutes) and see if it works.

Otherwise if you can trigger the problem on demand after a fresh restart
of Samba, try to set the Samba log level to 10 and take a capture at the
same time. See if anything interesting happends at the point of failure.


More information about the jcifs mailing list