[rt-users] RT password stored in db

Karl R Pietri KPietri at nvps.net
Mon Feb 2 14:07:44 EST 2004


Should have been a little more detailed.  I have no
programing skill in perl so i am writing the password
converter in php.  
-----from User_Overlay.pm-------
returns an MD5 hash of the password passed in, in
base64 encoding.

=cut

sub _GeneratePassword {
    my $self = shift;
    my $password = shift;

    my $md5 = Digest::MD5->new();
    $md5->add($password);
    return ($md5->b64digest);

}
----------------------------------

I have tryed various combinations of md5 and
base64_encode (and even decode) in php to try and match
it.  Http://ww2.nvps.net/~karl/password.php so far none
have worked.  Any ideas out there?


-Karl Pietri
   (616) 365-6126
   LAN Technician
   Northview Public Schools
   Grand Rapids, MI


-----Original Message-----
From: "Karl Pietri" <kpietri at nvps.net>
To: <rt-users at lists.bestpractical.com>
Date: Mon, 2 Feb 2004 13:38:50 -0500
Subject: [rt-users] RT password stored in db

> Can any one tell me how the password is stored in
> rt.  (like the function) i need to write a script to
> copy users/pass from a different db we already have
> setup (where password is stored in plain text).
> Thanks
> 
> -Karl Pietri
> Northview Public Schools
> 616-365-6126




More information about the rt-users mailing list