Ok, It?s working now ! Thanks a lot. Sergio Stateri Jr. [EMAIL PROTECTED]
'>'-- Mensagem Original -- '>'Reply-To: "Tomcat Users List" <users@tomcat.apache.org> '>'Date: Mon, 10 Apr 2006 13:52:23 -0400 '>'From: David Smith <[EMAIL PROTECTED]> '>'To: Tomcat Users List <users@tomcat.apache.org> '>'Subject: Re: Remote User with request.getRemoteUser() '>' '>' '>'By default, tomcat drops external headers like REMOTE_USER in favor of '>'it's own auth scheme. You can change this by setting the attribute '>'tomcatAuthentication="false" in your AJP connector definition in '>'server.xml and restarting. '>' '>'--David '>' '>'Sergio Stateri Jr wrote: '>' '>'> Hi, '>'> '>'> I?m having NTLM authentication problems with IIS 6 (over Windows 2003 '>'>Server) and Tomcat 5.5.16, using JK1.2 conector: '>'> - In a ASP page, the code '>'> '>'><%=Request.ServerVariable("REMOTE_USER")%> '>'> '>'> prints the Windows logged user, but in Tomcat, the code '>'> '>'><%=request.getRemoteUser()%> prints "null" '>'> '>'> and the code '>'> '>'><%=request.getHeader("IIS-REMOTE-USER")%> prints "null" too. '>'> '>'> Here?s my workers2.properties from JK2 : '>'> '>'>[shm:] '>'>info=Scoreboard. Required for reconfiguration and status with multiprocess '>'>servers '>'>file=D:\Tomcat559\temp\jk2.shm '>'>size=1048576 '>'> '>'>[channel.socket:localhost:8009] '>'>info=Ajp13 forwarding over socket '>'>tomcatId=localhost:8009 '>'> '>'># Map webapps to the Web server uri space '>'>[uri:/embaixador/*] '>'> '>'> And here?s a piece of my Tomcat?s server.xml : '>'> '>'> <!-- Define an AJP 1.3 Connector on port 8009 --> '>'> <Connector port="8009" '>'> enableLookups="false" redirectPort="8443" protocol="AJP/1.3" '>'>/> '>'> '>'> If in ASP the remote user name is printed, why the same code doesn?t '>'>work in java ? '>'> '>'> Another information: The same configuration works fine over Windows 2000 '>'>Professional and Windows XP. This error only occurs over Windows 2003 Server. '>'> '>'> Thanks in advance for any help. '>'> '>'> Sergio Stateri Jr. '>'> [EMAIL PROTECTED] '>'> '>'> '>'> '>'>--------------------------------------------------------------------- '>'>To unsubscribe, e-mail: [EMAIL PROTECTED] '>'>For additional commands, e-mail: [EMAIL PROTECTED] '>'> '>'> '>'> '>' '>'--------------------------------------------------------------------- '>'To unsubscribe, e-mail: [EMAIL PROTECTED] '>'For additional commands, e-mail: [EMAIL PROTECTED] '>' --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]