[Rt-devel] auth question

Mike Peachey mike.peachey at jennic.com
Fri Dec 19 06:00:50 EST 2008


Juan Carlos Montes wrote:
> Mike Peachey escribió:
>> Juan Carlos Montes wrote:
>>  
> 
> Hi mate,
> 
> i had problems with this file:
> /opt/rt3/share/html/Callbacks/ExternalAuth/autohandler/Auth
> i could resolve the issue patching this:
> 
> 
> line 72: $password_validated =
> $session{'CurrentUser'}->UserObj->IsPassword($pass);
> for this: $password_validated = RT::Authen::ExternalAuth::GetAuth($user,
> $pass);
> 
> at this time the auth run OK, :)

This technically breaks ExternalAuth as it's a very ugly workaround that
is bypassing a function and bypassing Internal Authentication.

You would be better off resolving the problem you had before which was
probably that it wasn't loading the overlay methods in User_Vendor.pm
-- 
Kind Regards,

__________________________________________________

Mike Peachey, IT
Tel: +44 114 281 2655
Fax: +44 114 281 2951
Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK
Comp Reg No: 3191371 - Registered In England
http://www.jennic.com
__________________________________________________


More information about the Rt-devel mailing list