[jcifs] Problem with NTLM HTTP filter, upgrading: 0.7.15 to 1.1.0

Parke Jeff Parke.Jeff at PBGC.GOV
Mon Oct 25 14:02:39 GMT 2004

I added the loglevel property to the web.xml, and used your example
web.xml file to use the recommended configuration

Here is the adjusted filter configuration:

      <filter-name>NTLM HTTP Authentication Filter</filter-name>

The same IE "The page cannot be displayed" error comes up.  The log
contains the following top level messages:

  NetBIOS: new data read from socket[...]
  04/10/25 09:21:26 Tutalii:
r archive
  session established ok with MYDOMAIN<1C>/
  requesting negotiation with MYDOMAIN<1C>/
  SmbComNegotiate[...errorCode=The operation completed successfully...]
  new data read from socket: MYDOMAIN<1C>/
  byteCount=46 but readBytesWireFormat returned 14
  SmbComNegotiateResponse[...errorCode=The operation completed
  treeConnect: unc=\\\IPC$,service=?????
  sessionSetup: accountName=myusername,primaryDomain=mydomain
  SmbComSessionSetupAndX[...errorCode=The operation completed
  SmbComTreeConnectAndX[...errorCode=The operation completed
  new data read from socket: MYDOMAIN<1C>/
  SmbComSessionSetupAndXResponse[...errorCode=The operation completed
  SmbComTreeConnectAndXResponse[...errorCode=The operation completed
  close: NbtSocket[addr=DPN<1C>/,port=139,localport=4988]

After this point, nothing else happens.  The request just ends.  I am
restarting the container for every test.  I tried putting a breakpoint
in the filter that immediately follows the NTLM filter and debugging the
application to verify that the request is never leaving the NTLM filter,
and it isn't.  Are there any other suggestions for how I could
troubleshoot this?


-----Original Message-----
From: Michael B Allen [mailto:mba2000 at ioplex.com] 
Sent: Friday, October 22, 2004 5:51 PM
To: Parke Jeff
Cc: jcifs at lists.samba.org
Subject: Re: [jcifs] Problem with NTLM HTTP filter, upgrading: 0.7.15 to

On Fri, 22 Oct 2004 11:46:43 -0400
"Parke Jeff" <Parke.Jeff at PBGC.GOV> wrote:
> hitting the application with Internet Explorer 6, the 0.7.15 version
> works, authenticating and gives the following jCIFS log message:
> 04/10/22 11:31:31 Tutalii:
> ar archive
> After upgrading to 1.1.0 and keeping the filter settings the same
> (keeping the entire application the same, just swapping the jar file
> WEB-INF/lib), I do not get any jCIFS related log message and hitting
> application in Internet Explorer results in a "The page cannot be
> displayed".

Your config should work. The ideal web.xml for 1.1 is this:


Try it. Or add the loglevel parameter to your existing config to
see what's going on. Also note that many jCIFS properties are loaded
once. Depending on how your container loads classes it may be necessary
to restart it.


Greedo shoots first? Not in my Star Wars.

More information about the jcifs mailing list