From: Geoffrey Young [mailto:[EMAIL PROTECTED]]

> try $r->set_handlers(PerlAuthzHandler =>
> ['Tivoli::Apache::AuthzCache', \&OK]);
>
> and you should see what you expect...
>
> I know calling it that way isn't in the eagle book, but it works.  I
> suppose, though, that we ought to stick to the official API
> and only pass an arrayref consisting of coderefs...

Hrm. Well, trying this did improve what I see via get_handlers, but it
doesn't change the behavior of the system. Handlers that are supposedly
removed are still called. I used:

  $r->set_handlers(PerlAuthzHandler => ['Tivoli::Apache::AuthzCache']);

The error_log contains the following. Note that there's only one handler,
AuthzCache, listed via get_handlers in the "Post" section yet AuthzLDAP
still runs.

[Mon Jun 26 14:34:09 2000] [debug]
/opt/apache/dw3.tivoli.com/81/lib/perl/Tivoli/Apache/AuthzCache.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
PerlAuthzHandler
[Mon Jun 26 14:34:09 2000] [debug]
/opt/apache/dw3.tivoli.com/81/lib/perl/Tivoli/Apache/AuthzCache.pm(132):
[client 146.84.34.143] handler: (Pre) PerlAuthzHandler
Tivoli::Apache::AuthzCache::handler next in line
[Mon Jun 26 14:34:09 2000] [debug]
/opt/apache/dw3.tivoli.com/81/lib/perl/Tivoli/Apache/AuthzCache.pm(132):
[client 146.84.34.143] handler: (Pre) PerlAuthzHandler
Tivoli::Apache::AuthzLDAP next in line
[Mon Jun 26 14:34:09 2000] [debug]
/opt/apache/dw3.tivoli.com/81/lib/perl/Tivoli/Apache/AuthzCache.pm(132):
[client 146.84.34.143] handler: (Pre) PerlAuthzHandler
Tivoli::Apache::AuthzCache::manage_cache next in line
[Mon Jun 26 14:34:09 2000] [debug]
/opt/apache/dw3.tivoli.com/81/lib/perl/Tivoli/Apache/AuthzCache.pm(140):
[client 146.84.34.143] handler: (Post) PerlAuthzHandler
Tivoli::Apache::AuthzCache next in line
[Mon Jun 26 14:34:09 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

Christian

Reply via email to