[jcifs] Configuring jCIFS with SunOne WebServer

Steven Dunn stevendunn at btconnect.com
Tue Jun 29 16:54:27 GMT 2004

Hi All,

I've configured jCIFS to authenticate connections for a web application running 
on Apache Tomcat 4.1.18-LE-jdk14. All clients connecting to the web application 
first access a page on the SunOne webserver which then needs them to 
authenticate against a Win2K domain/workgroup and then redirect the user to the 
webapp uri on TomCat.

I've had mixed results with this configuration. In one environment it works and 
in another It doesn't in the environment where it works. I'm using a workgroup 
in the environment where it doesn't work I'm trying to connect to a proper 
domain. See config below.

When it works on Sun One I get the following - - [24/Jun/2004:11:30:56 +0100] "GET /images/BabyBoy.gif HTTP/1.1" 
304 -

When it doesn't work on Sun One I get the following in the Sun One Access Log - - [24/Jun/2004:11:39:26 +0100] "GET /sam/myprofile HTTP/1.1" 401 -
My filter looks like the example below 

Has anyone had the same problem on Sun One and what is the best configuration 
for the Sun One platform to get authentication to work correctly all the time



More information about the jcifs mailing list