Comment 30 for bug 1574900

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Since mysql 5.6, there is no exported function that mimics the server-side PASSWORD() hash. my_make_scrambled_password() doesn't do it, and make_scrambled_password() isn't exported anymore.

The solution here is to reimplement that hash algorithm inside pam_mysql. One of the upstream forks did it, but still tries to use my_make_scrambled_password() if it's available, for which I opened bug https://github.com/NigelCunningham/pam-MySQL/issues/29.