Skip Menu |

This queue is for tickets about the DBIx-MyServer CPAN distribution.

Report information
The Basics
Id: 58275
Status: open
Priority: 0/
Queue: DBIx-MyServer

People
Owner: Nobody in particular
Requestors: toni.spets [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



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
Subject: Re: [rt.cpan.org #58275] passwordMatches method not working with MySQL client 5.1.47
Date: Wed, 9 Jun 2010 20:51:13 +0300
To: <bug-DBIx-MyServer [...] rt.cpan.org>
From: "Philip Stoev" <philip [...] stoev.org>
Hello, I must admit I have not visited that module in a while. I will try to replicate your situation tomorrow and see what I can do about it. Thank you. Philip Stoev Show quoted text
----- Original Message ----- From: "Toni Spets via RT" <bug-DBIx-MyServer@rt.cpan.org> To: <undisclosed-recipients:> Sent: Wednesday, June 09, 2010 6:39 PM Subject: [rt.cpan.org #58275] passwordMatches method not working with MySQL client 5.1.47
> Wed Jun 09 11:39:12 2010: Request 58275 was acted upon. > Transaction: Ticket created by toni.spets@gmail.com > Queue: DBIx-MyServer > Subject: passwordMatches method not working with MySQL client 5.1.47 > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: toni.spets@gmail.com > Status: new > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=58275 > > > > 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 > >