As far as I can see pam_user_map in MariaDB is just a PAM module, which can be used to map users. So, one can build it into pam_user_map.so and include in /etc/pam.d/mysql. It should work for Percona PAM plugin too, because Percona PAM has support for PAM user mapping. Please fill free to fail bug report if it don't.
HI Predrag,
As far as I can see pam_user_map in MariaDB is just a PAM module, which can be used to map users. So, one can build it into pam_user_map.so and include in /etc/pam.d/mysql. It should work for Percona PAM plugin too, because Percona PAM has support for PAM user mapping. Please fill free to fail bug report if it don't.
Thanks,
Sergei