Comment 11 for bug 988694

Revision history for this message
Sergei Golubchik (sergii) wrote :

Laurynas, look at he we've solved it. In MariaDB pam plugin (client side) should work everywhere.

At least it compiles on Solaris (in buildbot), it compiles and works on Windows (http://blog.montyprogram.com/security-with-two-step-verification/) and it compiles on Mac OS X and FreeBSD (with openpam, not linux-pam).

Predrag: and if you want to know why you need a client plugin for pam even though sudo, for example, doesn't - it's because sudo supports pam, it is linked with libpam. But mysql client and libmysql don't know anything about pam. Client plugin allows to extend them without recompiling. If you'd compile sudo without pam, you'd have to recompile it to add pam support.