[jcifs] Can't get NTLM HTTP Authentication to work

Christian wuerdemann at gmail.com
Tue Oct 10 13:41:33 GMT 2006


Hi,

we are using a Windows 2003 Domain Controler (no netbios, no wins), a Linux 
Tomcat Server and a Windows XP Client.

We are trying to get the JCIFS NTLM HTTP Authentication to work for a Tomcat 
Application.

When we load the Tomcat Application with IE on the client, we receive a "Page 
not found". We did a network capture and found that the server is not 
responding to the "type 3" Message of the client.

web.xml as follows:

<filter>
  <filter-name>NtlmHttpFilter</filter-name> 
  <filter-class>jcifs.http.NtlmHttpFilter</filter-class> 
<init-param>
  <param-name>jcifs.http.domainController</param-name> 
  <param-value>192.168.203.12</param-value> 
  </init-param>
<init-param>
  <param-name>jcifs.smb.client.soTimeout</param-name> 
  <param-value>1000000</param-value> 
  </init-param>
<init-param>
  <param-name>jcifs.util.loglevel</param-name> 
  <param-value>3</param-value> 
  </init-param>
<init-param>
  <param-name>jcifs.resolveOrder</param-name>
  <param-value>DNS</param-value>
  </init-param>
</filter>

Any ideas? Thank you for your help!
Christian




More information about the jcifs mailing list