Quick addition, though. The DirectoryIndex'ed pages were found when I
switched to [\&OK] from undef, but as the benefit of the cache is lost, this
is not a solution...

Regards,
Christian

> -----Original Message-----
> From: Christian Gilmore [mailto:[EMAIL PROTECTED]]
> Sent: Monday, June 26, 2000 9:22 AM
> To: 'Eric Cholet'
> Cc: 'Modperl Mailing List (E-mail)'
> Subject: RE: set_handlers() bug?
>
>
>
>
> From: Eric Cholet [mailto:[EMAIL PROTECTED]]
> > can you try
> >
> >     $r->set_handlers(PerlAuthzHandler => [\&OK]);
>
> Eric,
>
> I just tried this on your suggestion. The downstream authz
> handlers get
> called in this scenario, so the cache becomes useless. Here's
> the debug log
> output:
>
> [Mon Jun 26 09:15:15 2000] [debug]
> /opt/apache/dw3.tivoli.com/81/lib/perl/Tivoli/Apache/AuthenLDA
> P.pm(48):
> [client 146.84.34.143] AuthenBaseDN: o=Tivoli Systems
> LDAPServer: widow.dev.tivoli.com
> LDAPPort: 389
> UIDAttr: uid
> SetRemoteUser: uid
> [Mon Jun 26 09:15:15 2000] [debug]
> /opt/apache/dw3.tivoli.com/81/lib/perl/Tivoli/Apache/AuthenLDA
> P.pm(77):
> [client 146.84.34.143] Using filter: (uid=cgilmore)
> [Mon Jun 26 09:15:16 2000] [debug]
> /opt/apache/dw3.tivoli.com/81/lib/perl/Tivoli/Apache/AuthzCach
> e.pm(85):
> [client 146.84.34.143] handler: username=cgilmore
> [Mon Jun 26 09:15:16 2000] [debug]
> /opt/apache/dw3.tivoli.com/81/lib/perl/Tivoli/Apache/AuthzCach
> e.pm(109):
> [client 146.84.34.143] handler: using cached groups for cgilmore
> [Mon Jun 26 09:15:16 2000] [debug]
> /opt/apache/dw3.tivoli.com/81/lib/perl/Tivoli/Apache/AuthzCach
> e.pm(113):
> [client 146.84.34.143] handler: comparing Web Development Team to Web
> Development Team
> [Mon Jun 26 09:15:16 2000] [debug]
> /opt/apache/dw3.tivoli.com/81/lib/perl/Tivoli/Apache/AuthzCach
> e.pm(127):
> [client 146.84.34.143] handler: user in cache and groups Web
> Development
> Team and Web Development Team match; returning OK and clearing
> PerlAuthzHandlers
> [Mon Jun 26 09:15:16 2000] [debug]
> /opt/apache/dw3.tivoli.com/81/lib/perl/Tivoli/Apache/AuthzLDAP
> .pm(136):
> [client 146.84.34.143] AuthzBaseDN=o=Tivoli Systems,
> LDAPServer=widow.dev.tivoli.com, MemberAttr=member, ResetRemoteUser=,
> NestedGroups=Off
> [Mon Jun 26 09:15:16 2000] [debug]
> /opt/apache/dw3.tivoli.com/81/lib/perl/Tivoli/Apache/AuthzLDAP.pm(70):
> [client 146.84.34.143] Iterating over group Web Development Team
> [Mon Jun 26 09:15:16 2000] [debug]
> /opt/apache/dw3.tivoli.com/81/lib/perl/Tivoli/Apache/AuthzLDAP.pm(71):
> [client 146.84.34.143] Using filter: (cn=Web Development Team)
> [Mon Jun 26 09:15:17 2000] [debug]
> /opt/apache/dw3.tivoli.com/81/lib/perl/Tivoli/Apache/AuthzLDAP.pm(89):
> [client 146.84.34.143] Checking group cn=Web Development Team, ou=web,
> ou=groups, o=Tivoli Systems for uid=cgilmore, ou=internal, ou=people,
> o=Tivoli Systems
> [Mon Jun 26 09:15:17 2000] [debug]
> /opt/apache/dw3.tivoli.com/81/lib/perl/Tivoli/Apache/AuthzCach
> e.pm(156):
> [client 146.84.34.143] manage_cache: username=cgilmore, group=Web
> Development Team
> [Mon Jun 26 09:15:17 2000] [debug]
> /opt/apache/dw3.tivoli.com/81/lib/perl/Tivoli/Apache/AuthzCach
> e.pm(172):
> [client 146.84.34.143] manage_cache: added cgilmore:Web
> Development Team to
> the cache
>
> Regards,
> Christian
>

Reply via email to