[rt-users] RT::Authen::ExternalAuth with PHPass (phpbb3);

Adrian Stel adisan82 at gmail.com
Tue Nov 15 04:49:55 EST 2011


Hi,


Can't use string ("user password") as a HASH ref while "strict refs"
in use at /usr/local/share/perl/5.10.1/Authen/Passphrase/PHPass.pm
line 278.

Problem is with type of user password.

Still need to know where I should search.




Best
Adrian


2011/11/15 Adrian Stel <adisan82 at gmail.com>:
> Hi,
>
> any idea where I should look, file name ? function ?
>
>
>
>
> Best
> Adrian
>
> 2011/11/14 Zordrak <zordrak at tpa.me.uk>:
>> Adrian Stel wrote:
>>> Hi,
>>>
>>>
>>> thanks :)
>>>
>>> phpass has many method I use hash_base64, RTSiteConfig.pm:
>>>
>>> 'p_enc_pkg'                 =>  'Authen::Passphrase::PHPass',
>>> 'p_enc_sub'                 =>  'hash_base64',
>>>
>>>
>>> and when i put user/pass I get:
>>>
>>> RT Site:
>>> http://150.254.148.60/NoAuth/Login.html
>>>
>>> Can't use string ("*****") as a HASH ref while "strict refs" in use at
>>> /usr/local/share/perl/5.10.1/Authen/Passphrase/PHPass.pm line 278.
>>>
>>> But when I reload page I will be login to RT.
>>>
>>> Any idea why we get this error.
>>
>>
>> My guess would be that PHPass.pm expects the password to be sent to it
>> as a hashref instead of a string. IF this is the case then you will need
>> to modify the code in ExternalAuth so that when the subroutine is
>> called, the string is first converted into a hashref and then sent as a
>> parameter.
>> --
>> Zordrak
>> zordrak at tpa.me.uk
>>
>



-- 
Pozdrawiam
Adrian Stelmaszyk



More information about the rt-users mailing list