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.
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/NigelCunnin gham/pam- MySQL/issues/ 29.