Return-Path: X-Original-To: apmail-tomcat-users-archive@www.apache.org Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3B1289A1E for ; Fri, 2 Dec 2011 21:29:48 +0000 (UTC) Received: (qmail 57717 invoked by uid 500); 2 Dec 2011 21:29:45 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 57507 invoked by uid 500); 2 Dec 2011 21:29:44 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 57497 invoked by uid 99); 2 Dec 2011 21:29:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Dec 2011 21:29:44 +0000 X-ASF-Spam-Status: No, hits=3.4 required=5.0 tests=FH_FAKE_RCVD_LINE_B,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ohaya@cox.net designates 68.230.241.214 as permitted sender) Received: from [68.230.241.214] (HELO eastrmfepo102.cox.net) (68.230.241.214) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Dec 2011 21:29:38 +0000 Received: from eastrmimpo305.cox.net ([68.230.241.237]) by eastrmfepo102.cox.net (InterMail vM.8.01.04.00 201-2260-137-20101110) with ESMTP id <20111202212917.JWSS3177.eastrmfepo102.cox.net@eastrmimpo305.cox.net>; Fri, 2 Dec 2011 16:29:17 -0500 Received: from eastrmwml105 ([172.18.18.217]) by eastrmimpo305.cox.net with bizsmtp id 4MVG1i00N4h0NJL02MVG64; Fri, 02 Dec 2011 16:29:16 -0500 X-CT-Class: Clean X-CT-Score: 0.00 X-CT-RefID: str=0001.0A02020A.4ED9432D.000F,ss=1,re=0.000,fgs=0 X-CT-Spam: 0 X-Authority-Analysis: v=1.1 cv=MiOonae6rw3+ujopdkNGm6XlYH7n95/cwhr6Dls/iyg= c=1 sm=1 a=oDu9JGl69GgA:10 a=G8Uczd0VNMoA:10 a=HmblazRPy8UA:10 a=IkcTkHD0fZMA:10 a=t1PrUrtrk04foxyHgvPcUw==:17 a=kGNjuPkcAAAA:8 a=kviXuzpPAAAA:8 a=vYkHmhf2XgWL9DzKZh8A:9 a=QEXdDO2ut3YA:10 a=aaYDVmB8Po4A:10 a=4vB-4DCPJfMA:10 a=t1PrUrtrk04foxyHgvPcUw==:117 X-CM-Score: 0.00 Authentication-Results: cox.net; none Received: from 72.205.21.101 by webmail.east.cox.net; Fri, 2 Dec 2011 16:29:16 -0500 Message-ID: <20111202162916.ETSJ6.229269.imail@eastrmwml105> Date: Fri, 2 Dec 2011 16:29:16 -0500 From: To: Tomcat Users List Subject: Re: Do any of the Tomcat LDAP-type realms support "no password" authentication? Cc: =?utf-8?Q?Andr=C3=A9_Warnier?= In-Reply-To: <4ED93579.7010505@ice-sa.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) Sensitivity: Normal ---- "Andr=C3=A9 Warnier" wrote:=20 > ohaya@cox.net wrote: >=20 > .. re-synchronising.. > >=20 > > I've made some progress. I have a VirtualHost, so I had to add a "JkMo= untCopy 'on'" inside the , and now, it's at least proxying thr= ough to the Tomcat using mod_jk!! > >=20 > > BUT, it's still not logging me into the Tomcat :(... > >=20 > > I don't want to post the entire jk.log, so can someone point me to what= to look for in there, maybe? > >=20 >=20 > Ok, so let's now continue on the mod_jk track, since you've got that part= running. >=20 > What you are looking for, is an AJP "request attribute" named "remote_use= r" (lowercase),=20 > in the packets which mod_jk sends to Tomcat. > I don't know if that would be in the log, nor if there is any way to coer= ce mod_jk into=20 > putting it in the log. >=20 > But since your Tomcat is not authenticating, chances are that it isn't th= ere. >=20 > So let's try to cheat, and force it to be there. > In your Apache configuration, add this line : >=20 > JkEnvVar remote_user "blablabla" >=20 > and let's see what happens. >=20 >=20 > (and after that, we'll try mod_rewrite or a combination) > Andre, I had already tried including a "JkEnvVar" as you suggested in my httpd.con= f, in order to try to hard-code getting SOMETHING to show up, but no joy := (... I've also tried a bunch of other variants: JkEnvVar REMOTE_USER also: JkEnvVar remote_user "foobar" also: JkEnvVar AJP_REMOTE_USER "foobar" Nothing works :(... This is really getting discouraging :(. It almost seems to me like that 't= omcatAuthentication' functionality doesn't even exist at all. I've searched the jk.log for multiple things, "attr", "remo", etc., and fin= d nothing relevant/significant at all in there... Thanks, Jim --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org