[jcifs] Re-authenticating and jCIFS

Michael B Allen mba2000 at ioplex.com
Mon Feb 2 08:51:21 GMT 2004

Please send all messages to the jcifs mailing list.

Persona Non Grata said:
> Thanks for the quick response. One point of
> clarification. When you
> say "if you don't care about re-negotiating every time
> you connect to
> another server", do you mean that after negotiating
> the hash once, it
> can then be reused when going to the same server?

Yes. You can reauthenticate users over and over with the same hashes
provided the socket doesn't close. The bottom line -- you only need to
renegotiate when the server challenge changes and that only changes when
you create a new socket (note that jCIFS will automatically close idle
sockets after jcifs.smb.client.soTimeout ms).


More information about the jcifs mailing list