libpam-mysql is alive again as a new maintainer take over the project. As for this bug, somehow another user named stewjohn committed a patch exactly the same to mine above to the new repo. So you may use the latest version in Ubuntu 17.04 that had the bug fixed from http://packages.ubuntu.com/zesty/libpam-mysql
I've been using my patch for more than half year and it's running without any problem so I think this bug can be closed now.
Hi Markus,
libpam-mysql is alive again as a new maintainer take over the project. As for this bug, somehow another user named stewjohn committed a patch exactly the same to mine above to the new repo. So you may use the latest version in Ubuntu 17.04 that had the bug fixed from http:// packages. ubuntu. com/zesty/ libpam- mysql
I've been using my patch for more than half year and it's running without any problem so I think this bug can be closed now.