I'm hoping someone has tackled this already and can give me a hint.

I'm trying to implement Apache::AuthCookieDBI to do ticket-based
authentication, but it's not working. I'm getting this in my error log:

  [error] access to /LOGIN failed for 192.168.1.2, reason: Apache::AuthCookieDBI: 
didn't have the secret key for auth realm AFS_Admin

I've gone over this several times and I'm pretty sure I've done everything
right. So... I started hacking debug statements into AuthCookieDBI.pm. What
I discovered was that the %SECRET_KEYS hash is not being populated at
server startup via the BEGIN block in AuthCookieDBI. Here's a snippet of the 
code:

     my @keyfile_vars = grep {
       $_ =~ /DBI_SecretKeyFile$/
     } keys %{ Apache->server->dir_config() };

I inserted a debug statement right after this to see what was being placed
into this list. Nothing.

So... I checked out the return value of Apache->server->dir_config().
Nothing. Not a darn thing is being returned this function... which is
puzzling. 

Any thoughts?

I'm running Perl 5.6.1, Apache 1.3.22-2 (RH7.2), and mod_perl 1.26.

-=Fozz

-- 
Doran L. Barton <[EMAIL PROTECTED]> - Chief Super Hero - Iodynamics LLC
< http://www.iodynamics.com/ > - Linux solutions and dynamic websites
 "When passenger of foot heave in sight, tootle the horn. Trumpet him
  melodiously at first, but if he still obstacles your passage then tootle
  him with vigor."
    -- From a brochure of a car rental firm in Tokyo

Reply via email to