[jcifs] NTLM usrname/password failure after each 5 mins
Michael B Allen
ioplex at gmail.com
Wed Jun 18 02:31:46 GMT 2008
On 6/17/08, Ti Lian Hwang <lian_hwang.ti at fairprice.com.sg> wrote:
> Sorry the ssnLimit error was not a NPE error.
> It was a "Invalid access to memory location."
<snip>
> treeConnect: unc=\\STARDUST\IPC$,service=?????^M
> sessionSetup: accountName=test6,primaryDomain=CHEERS^M
> NtlmHttpFilter: CHEERS\test6: 0xC0000005: jcifs.smb.SmbAuthException: Invalid access to memory location.^M
That is a special error which is perfectly correct for trying to mount
IPC$ from the filter with ssnLimit = 1.
If you provide a stack trace it will probably show you what is trying
to access IPC$.
It could be the DFS code. Try disabling domain-based DFS in
conjunction with ssnLimit = 1 with:
jcifs.smb.client.ssnLimit = 1
jcifs.smb.client.dfs.disabled = true
Mike
> -----Original Message-----
> From: Michael B Allen [mailto:ioplex at gmail.com]
> Sent: Wednesday, June 18, 2008 12:33 AM
> To: Ti Lian Hwang
> Cc: jcifs at lists.samba.org
> Subject: Re: [jcifs] NTLM usrname/password failure after each 5 mins
>
>
>
> On 6/17/08, Ti Lian Hwang <lian_hwang.ti at fairprice.com.sg> wrote:
> > to use jcifs.smb.client.ssnLimit = 1.
> >
> > but that option causes a null pointer error everytime I tried it
> > (prior to January anyway).
>
> If you can provide a stack trace of that I would be happy to fix it.
> An NPE is almost always a bug worth reporting.
>
> Mike
>
> --
> Michael B Allen
> PHP Active Directory SPNEGO SSO
> http://www.ioplex.com/
>
--
Michael B Allen
PHP Active Directory SPNEGO SSO
http://www.ioplex.com/
More information about the jcifs
mailing list