[jcifs] How to extend lifetime of NtlmPasswordAuthentication-Object

Andreas Knoor knoor at e-spirit.de
Tue Apr 25 20:09:29 GMT 2006


Hello,

we have some problems with the lifetime of NtlmPasswordAuthentication objects,
that are created by using NTLM.

When the lifetime is expired, every JCIF operation throws an SmbAuthException
with status code NT_STATUS_ACCESS_VIOLATION. 

The question is: What factors are responsible for the lifetime of the
NtlmPasswordAuthentication objects? 
How can i increase the lifetime of the NtlmPasswordAuthentication objects? 

In our case, the lifetime is less than 20 seconds for some fileservers, that are
connected over a WAN network.


Regards,

  Andreas



More information about the jcifs mailing list