[rt-users] RT 4.0.2 and ExternalAuth
Adrian Stel
adisan82 at gmail.com
Sat Nov 12 07:16:09 EST 2011
Hi,
now I have :
'p_enc_pkg' => 'Crypt::MySQL',
'p_enc_sub' => 'password41',
and still errors:
[error]: AUTH FAILED, Couldn't Load Password Encryption Package.
Error: Can't locate Crypt/MySQL.pm in @INC (@INC contains:
/opt/rt4/sbin/../local/lib
/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib /opt/rt4/sbin/../lib
/etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1
/usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10
/usr/share/perl/5.10 /usr/local/lib/site_perl . /etc/apache2) at (eval
1304) line 3.
[error]: My_MySQL AUTH FAILED The encryption package you gave me (
Crypt::MySQL ) does not support the encryption method you specified (
password41 ) (/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/DBI.pm:99)
[Sat Nov 12 12:08:58 2011] [debug]: DBI password validation result: 0
(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:331)
[Sat Nov 12 12:08:58 2011] [debug]: Password Validation Check Result:
0 (/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:159)
[Sat Nov 12 12:08:58 2011] [debug]: Autohandler called ExternalAuth.
Response: (0, Password Invalid)
(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/html/Elements/DoAuth:11)
[Sat Nov 12 12:08:58 2011] [error]: FAILED LOGIN for test123 from
31.174.157.24 (/opt/rt4/sbin/../lib/RT/Interface/Web.pm:655)
Any idea why there we Can't locate Crypt/MySQL.pm ?
Adrian
2011/11/10 Kevin Falcone <falcone at bestpractical.com>:
> On Thu, Nov 10, 2011 at 02:07:41PM +0100, Adrian Stel wrote:
>> # The Perl
>> package & subroutine used to encrypt passwords
>> # e.g. if the
>> passwords are stored using the MySQL v3.23 "PASSWORD"
>> # function,
>> then you will need Crypt::MySQL::password, but for the
>> # MySQL4+
>> password function you will need Crypt::MySQL::password41
>> #
>> Alternatively, you could use Digest::MD5::md5_hex or any other
>> # encryption
>> subroutine you can load in your perl installation
>> 'p_enc_pkg'
>> => 'Crypt::MySQL::password41',
>> #'p_enc_sub'
>> => 'password41',
>> # If your
>>
>> Couldn't Load Password Encryption Package. Error: Can't locate
>> Crypt/MySQL/password.pm
>> My_MySQL AUTH FAILED The encryption package you gave me (
>> Crypt::MySQL::password ) does not support the encryption method you
>> specified ( )
>>
>
> You've configured it to use Crypt::MySQL::password41,
> which is not a perl module.
>
> I suspect you wanted it to load Crypt::MySQL and then use the
> password41 method on it.
>
> -kevin
>
> --------
> RT Training Sessions (http://bestpractical.com/services/training.html)
> * Barcelona, Spain — November 28 & 29, 2011
>
--
Pozdrawiam
Adrian Stelmaszyk
More information about the rt-users
mailing list