> > [Fri Nov 21 16:29:25 2008] [error]: Working around bug in RT and
> > reloading RT::User
> >
(/opt/rt3/local/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAu
> > th/autohandler/Auth:12)
> > [Fri Nov 21 16:29:25 2008] [debug]: $pass defined (foobar), Running
> > IsPassword
> >
(/opt/rt3/local/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAu
> > th/autohandler/Auth:69)
> > [Fri Nov 21 16:29:25 2008] [debug]: Password Incorrect
> >
(/opt/rt3/local/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAu
> > th/autohandler/Auth:74)
> > [Fri Nov 21 16:29:25 2008] [error]: FAILED LOGIN for munsch from
> > 192.168.1.34 (/opt/rt3/share/html/autohandler:265)
> Looking at the log, it doesn't look like it's *really* checking the
> password:
>
> **********************************************************************
> # If a password was given on the login page, validate it
> if (defined($pass)) {
> $RT::Logger->debug("\$pass defined ($pass), Running IsPassword");
> $password_validated =
> $session{'CurrentUser'}->UserObj->IsPassword($pass);
> }
>
> unless($password_validated) {
> $RT::Logger->debug("Password Incorrect");
> delete $session{'CurrentUser'};
> }
> **********************************************************************
>
> You don't have one single debug statement between the output "Running
> IsPassword" and "Password Incorrect". I would expect a lot more debug
> output between the two as the code passes into "IsPassword()".
>
> I would recommend adding some debug statements to the IsPassword
method
> inside local/plugins/RT-Authen-ExternalAuth/lib/RT/User_Vendor.pm and
> see if they show up in the log, because I'm guessing the
User_Vendor.pm
> isn't getting used and it's just calling the normal RT "IsPassword"
> method instead.
It's looking that way. Went to add debug statements to IsPassword, and
they're already there. This should be showing up in the logs either
way, yes?
************************************************************************
***
$RT::Logger->debug("Trying External Authentication
(",$self->Name,")");
if(RT::Authen::ExternalAuth::GetAuth($self->Name,$value)) {
$RT::Logger->debug( (caller(0))[3],
"EXTERNAL AUTH OKAY");
return(1);
} else {
$RT::Logger->debug( (caller(0))[3],
"EXTERNAL AUTH FAILED");
************************************************************************
***
So it's not happening. I rechecked file permissions: www-data has r to
all of 'em. So, this file is not being used. What's back a step?
What's failing to call this properly on my system..?
Thanks again.
BEGIN:VCARD
VERSION:2.1
N:Munsch;Robert
FN:Robert Munsch
EMAIL;PREF;INTERNET:[EMAIL PROTECTED]
REV:20080605T213203Z
END:VCARD
_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]
Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com