[jcifs] Tomcat NTLM

Scott, James (JA) JAScott3 at dow.com
Fri Sep 20 02:56:12 EST 2002


In response to:
http://lists.samba.org/pipermail/jcifs/2002-May/002185.html
------
I have successfully gotten the NTLM authentication to work from within my
code .. Very Sweet! .. Thanks alot for having taken the time to write that
and share it.

I have a question regarding the above posting.  I am now trying to make NTLM
the default auth for my web app (I am using Tomcat) and I have not been
successful in getting it to work as such.  In that posting it was stated
that 
	-----------
	Copy the supplied  jcifs-0.6.3.jar to
	$CATALINA_HOME/server/lib

	Overwrite the existing  catalina.jar  in $CATALINA_HOME/server/lib
	with the supplied one.
	-----------
I am wondering, in order to make this work with Tomcat do I have to have
your version of the Catalina.jar ?.. was it altered in some way?

I altered my web.xml file to contain the login-config information as you
specified.  I also altered the tomcat-users.xml file to be setup as per your
instructions, however, my request.getRemoteUser() is still null.

Any help would be greatly appreciated.

Thanks,
Jim




More information about the jcifs mailing list