[jcifs] NTLM HttpFilter works - sometimes!
jbaker-jcifs at javasystemsolutions.com
jbaker-jcifs at javasystemsolutions.com
Mon Jan 15 01:07:01 GMT 2007
Hi,
I have an issue with the NtlmHttpFilter. I've set up a web application to use
it and the filter correctly authenticates and passes on the request when I
use a browser running on the machine running Tomcat. However, when I use
another machine, the filter prompts me for a username/password three times
and fails. Both machines are logged in using the same account. Does anyone
have an idea what could be causing this?
The web.xml has these properties:
<init-param>
<param-name>jcifs.http.domainController</param-name>
<param-value>123.123.18.100</param-value>
</init-param>
<init-param>
<param-name>jcifs.smb.client.domain</param-name>
<param-value>TCAD</param-value>
</init-param>
<init-param>
<param-name>jcifs.encoding</param-name>
<param-value>cp1252</param-value>
</init-param>
The username & password parameters are not being used as it seems to work on
the server running Tomcat. The server is Windows 2003.
I have noticed a lot of this in the logs:
java.net.SocketTimeoutException: Receive timed out
at java.net.PlainDatagramSocketImpl.receive0(Native Method)
at java.net.PlainDatagramSocketImpl.receive(Unknown Source)
at java.net.DatagramSocket.receive(Unknown Source)
at jcifs.netbios.NameServiceClient.run(NameServiceClient.java:184)
at java.lang.Thread.run(Unknown Source)
Any thoughts?
John
More information about the jcifs
mailing list