[jcifs] Need help on NTLM with SMB Signature

tetsu.soh at nts.ricoh.co.jp tetsu.soh at nts.ricoh.co.jp
Thu Aug 30 07:19:25 GMT 2007


I met a problem when use ntlm + smb signature.

Here is what I did:
First, I try to access a unavailable resource on Server, for example,
As expected, got a SmbException with the message that The network name
cannot be found.

Next, I try to access a available resource, let's say smb://Server/good/
But, this time I got a SmbException with the message that Access is denied.

Additionally, if I disable the smb signature on Server, I won't get the
"Access is denied" exception and everything works fine.

IMO, the leading cause of this problem is that jCIFS try to reuse the
SmbSession but didn't update the digest.

So what do you think? And how I can avoid this problem?

Thanks in advance.


More information about the jcifs mailing list