[rt-users] Bad AD or is it my config?
Robert Munsch
Munsch at phillycarshare.org
Mon Nov 24 11:24:15 EST 2008
> > [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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Robert Munsch.vcf
Type: text/x-vcard
Size: 141 bytes
Desc: Robert Munsch.vcf
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20081124/42e3693e/attachment.vcf>
More information about the rt-users
mailing list