Re: Trick PerlAuthzHandler into thinking Basic Auth occurred

2004-08-30 Thread Geoffrey Young
David Castro wrote: > Okay, a little more tracking down revealed that handler #5 ("check if > the user is ok _here_") is never getting called when my module is being > used, but is for Basic auth. Happen to know under which circumstances > this occurs/doesn't occur? Maybe there is something els

Re: Trick PerlAuthzHandler into thinking Basic Auth occurred

2004-08-30 Thread David Castro
Okay, a little more tracking down revealed that handler #5 ("check if the user is ok _here_") is never getting called when my module is being used, but is for Basic auth.  Happen to know under which circumstances this occurs/doesn't occur?  Maybe there is something else I can set to get that me

Re: Trick PerlAuthzHandler into thinking Basic Auth occurred

2004-08-30 Thread David Castro
on 08/30/04 15:01 Geoffrey Young wrote: Ooops, yeah. A follow-up email corrected "mod_authz_ldap" to "mod_auth_ldap". Sorry 'bout that. To give a bit more detail, I am using "mod_authz_ldap-0.22" on Apache 2 under RHAS 3.0. Went looking through the C code of the authz module and fou

Re: Trick PerlAuthzHandler into thinking Basic Auth occurred

2004-08-30 Thread Geoffrey Young
> Ooops, yeah. A follow-up email corrected "mod_authz_ldap" to > "mod_auth_ldap". Sorry 'bout that. To give a bit more detail, I am > using "mod_authz_ldap-0.22" on Apache 2 under RHAS 3.0. Went looking > through the C code of the authz module and found the function it gets > the credentials f

Re: Trick PerlAuthzHandler into thinking Basic Auth occurred

2004-08-30 Thread David Castro
on 08/30/04 13:43 Geoffrey Young wrote: then all you should need to do is set $r->user to the authenticated user and you should be good to go. for completeness, you might also want to set $r->connection->auth_type to 'Basic', but that is most likely not required to get things wo

Re: Trick PerlAuthzHandler into thinking Basic Auth occurred

2004-08-30 Thread Geoffrey Young
>> then all you should need to do is set $r->user to the authenticated >> user and >> you should be good to go. for completeness, you might also want to set >> $r->connection->auth_type to 'Basic', but that is most likely not >> required >> to get things working. >> >> > Hrmm. Yeah, this is wh

Re: Trick PerlAuthzHandler into thinking Basic Auth occurred

2004-08-30 Thread David Castro
on 08/30/04 12:09 Geoffrey Young wrote: Heh. Yeah, maybe the point I needed to make more clear is this. The PerlAuthenHandler is NOT relying on basic auth to actually have ever occured. It is a handler that gets credentials via another service altogether. Suffice it to say that no b