[jcifs] NTLM HttpFilter works - sometimes!

jbaker-jcifs at javasystemsolutions.com jbaker-jcifs at javasystemsolutions.com
Mon Jan 15 01:07:01 GMT 2007


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:




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?


More information about the jcifs mailing list