[jcifs] NTLM usrname/password failure after each 5 mins
Michael B Allen
ioplex at gmail.com
Wed Jun 18 05:32:02 GMT 2008
On 6/17/08, Ti Lian Hwang <lian_hwang.ti at fairprice.com.sg> wrote:
> OK, heres the stacktrace
>
> NtlmHttpFilter: FAIRPRICEHQ\test6: 0xC0000005: jcifs.smb.SmbAuthException: Invalid access to memory location.
>
> jcifs.smb.SmbAuthException: Invalid access to memory location.
>
> at jcifs.smb.SmbComSessionSetupAndX.<init>(SmbComSessionSetupAndX.java:46)
> at jcifs.smb.SmbSession.sessionSetup(SmbSession.java:268)
> at jcifs.smb.SmbSession.send(SmbSession.java:233)
> at jcifs.smb.SmbTree.treeConnect(SmbTree.java:154)
> at jcifs.smb.SmbSession.logon(SmbSession.java:169)
> at jcifs.smb.SmbSession.logon(SmbSession.java:162)
> at jcifs.http.NtlmHttpFilter.negotiate(NtlmHttpFilter.java:182)
Actually accessing IPC$ is normal. I don't know what I was thinking
before. I don't know what the problem is.
Although I think the jcifs.smb.client.dfs.disabled property was added in 1.2.22.
Mike
> From: Michael B Allen [mailto:ioplex at gmail.com]
> Sent: Wednesday, June 18, 2008 10:32 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:
> > 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/
>
--
Michael B Allen
PHP Active Directory SPNEGO SSO
http://www.ioplex.com/
More information about the jcifs
mailing list