mysql-test/suite/plugins/t/pam_init.inc
raw| 1 | |
| 2 | --source include/not_embedded.inc |
| 3 | |
| 4 | if (!$PAM_PLUGIN_VERSION) { |
| 5 | skip No pam auth plugin; |
| 6 | } |
| 7 | |
| 8 | eval install plugin pam soname '$PAM_PLUGIN_VERSION'; |
| 9 | create user test_pam identified via pam using 'mariadb_mtr'; |
| 10 | grant all on test.* to test_pam; |
| 11 | create user pam_test; |
| 12 | grant all on test.* to pam_test; |
| 13 | grant proxy on pam_test to test_pam; |
| 14 | |
| 15 | let $plugindir=`SELECT @@global.plugin_dir`; |
| 16 |