[Bug 150649] Re: gutsy does not have a working apache+mysql authentication solution

Daevid Vincent daevid at daevid.com
Wed Feb 11 02:57:22 GMT 2009


SOLVED:

THIS IS STUPID!! The Where clause requires that YOU put an additional
"AND" in there.

 Auth_MySQL_Where                  " AND type = 'Admin' AND enabled = 1
"

So the auth_mysql code must be making a "SELECT * FROM user WHERE
username = 'foo' AND password = 'bar' WHERE 1" or some other completely
retarded logic, when it should simply be putting a "WHERE " (with the
intentional trailing space) and the string you gave it in the directive.
UGH!

-- 
gutsy does not have a working apache+mysql authentication solution
https://bugs.launchpad.net/bugs/150649
You received this bug notification because you are a member of Ubuntu
Server Team, which is a direct subscriber.



More information about the Ubuntu-server-bugs mailing list