[jcifs] Need help on NTLM with SMB Signature
Michael B Allen
miallen at ioplex.com
Thu Aug 30 14:20:43 GMT 2007
On Thu, 30 Aug 2007 16:19:25 +0900
tetsu.soh at nts.ricoh.co.jp wrote:
> Hi,
>
> 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,
> smb://Server/bad/
> 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?
Hi Tetsu,
Does it work if you access smb://Server/good/ without trying to access
smb://Server/bad/ first?
If so, then, yes that is clearly not the desired behavior. What version
of JCIFS are you using?
Mike
--
Michael B Allen
PHP Active Directory Kerberos SSO
http://www.ioplex.com/
More information about the jcifs
mailing list