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
At 22:56 25.04.2002, Doran L. Barton wrote:
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
Within 5 minutes of sending this out, I found the solution and promptly
slapped my head several times. My apologies for wasting bandwidth, but
while I'm at it, here's the solution (to help those in the future who fall
into this snare):
You have to make sure your PerSetVar directive for the
Well, let's start with the basics...
In httpd.conf (or mod_perl.conf or wherever) you have...
PerlSetVar AFS_AdminDBI_SecretKeyFile /path/to/your/keyfile
right? From the error you describe it sounds like you don't have this
variable declared correctly.
-Fran
my keyfile_vars = grep