logo       

Re: Struts forwards and jCIFS NTLM: msg#00052

network.samba.java

Subject: Re: Struts forwards and jCIFS NTLM

On Fri, 18 Nov 2005 12:09:13 -0800
Justin Mahoney <JMahoney@xxxxxxxxxx> wrote:

> Attached is a ZIP (rename firewall-defeating .pdf extension to .zip) file
> containing a "fix" (there's probably a better way to accomplish it).
>
> In brief, I simply surrounded the SmbSession.logon(dc, ntlm); call in
> NtlmHttpFilter.java with the following:
>
> =======================================================
> final String AUTHED = "NtlmHttpAuthenticated";
> String authed = (String) req.getAttribute(AUTHED);
>
> if (authed == null || authed.trim().equals("")) {
> SmbSession.logon(dc, ntlm);
> }
>
> req.setAttribute(AUTHED, AUTHED);
> =======================================================
>
> Will a fix for this issue make it into 1.2.7?

Sorry, no. Unfortunately I don't have a suitable environment with which
to test this. I'll put it on The List for future reference though.

Mike



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise