Subject: | passwordMatches method not working with MySQL client 5.1.47 |
Date: | Wed, 09 Jun 2010 18:38:56 +0300 |
To: | bug-DBIx-MyServer [...] rt.cpan.org |
From: | Toni Spets <toni.spets [...] gmail.com> |
Hi,
I'm trying to get MyServer to authenticate users but have encountered a
problem. A simple test case like:
if ( not defined $proxy->passwordMatches('test') ) {
$proxy->sendError("Invalid password for user $username");
return undef;
}
always fails with an error whatever I type in the client. I dug the
passwordMatches code and tried to debug the algorithm but couldn't come
up with whats wrong.
Has the protocol changed or is there a bug in the authentication code?
MySQL client version: mysql Ver 14.14 Distrib 5.1.47, for
debian-linux-gnu (i686) using readline 6.1
DBIx::MyServer version: 0.41
--
Toni Spets