[rt-users] RT 4.0.2 ExternalAuth and phpbb3

Carlos Ramos carragom at gmail.com
Mon Nov 14 10:36:35 EST 2011


On Mon, Nov 14, 2011 at 3:27 AM, Adrian Stel <adisan82 at gmail.com> wrote:
> Hi,
>
>
> I would like to use phpbb3 base to auth to my RT.
>
> Problem is here:
>
>
> SiteConfig.pm
>
>  # 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',
>                                                        'p_enc_sub'
>             =>  'password41',
>
>
> I'm not sure which function I should use.
>
>
>
>
> --
> Best
> Adrian Stelmaszyk
> --------
> RT Training Sessions (http://bestpractical.com/services/training.html)
> *  Barcelona, Spain  November 28 & 29, 2011
>

Assuming phpbb use this password library
http://www.openwall.com/phpass/, as suggested in this post
http://www.phpbb.com/community/viewtopic.php?f=71&t=585387#p3225746.
Then you could probably use that library's perl port available here
http://search.cpan.org/~zefram/Authen-Passphrase/lib/Authen/Passphrase/PHPass.pm
to authenticate your users.

Otherwise I'm guessing you will have to port phpbb's hashing function
to perl using the version that came with your phpbb as reference.

Cheers.

-- 
Carlos Ramos


More information about the rt-users mailing list