[jcifs] NTLM usrname/password failure after each 5 mins

Michael B Allen ioplex at gmail.com
Tue Jun 17 16:31:51 GMT 2008


On 6/17/08, Asaf Mesika <asaf.mesika at gmail.com> wrote:
> I tried that in the first attempt, but it didn't solve the problem.
>
> I'll follow Micahel's leads and try to investigate it some more...

Asaf,

Please try this package:

  http://jcifs.samba.org/src/jcifs-1.2.22c.jar
  http://jcifs.samba.org/src/jcifs-1.2.22c.zip
  http://jcifs.samba.org/src/jcifs-1.2.22c.tgz

While working on an unrelated problem I noticed a bug where an error
in SmbSession.send() sending the batched SMB_COM_TREE_CONNECT_ANDX
could leave sessionSetup = true even though the
SMB_COM_SESSION_SETUP_ANDX was never really completed. The uid would
be 0 which would cause subsequent requests to fail with "The parameter
was invalid". Additionally if a failure occurred during the
SMB_COM_SESSION_SETUP_ANDX and the signing digest on the request
object was not reset to null, a retry could result in a signature
failure and then followed immediately there-after by "Access denied".

Anyway, these errors sound related to your experience so I think you
should try this new package which properly resets the session state
and request digest as necessary.

Mike

-- 
Michael B Allen
PHP Active Directory SPNEGO SSO
http://www.ioplex.com/


More information about the jcifs mailing list