diff options
Diffstat (limited to 'mysql-test/suite/plugins/t/pam_init.inc')
-rw-r--r-- | mysql-test/suite/plugins/t/pam_init.inc | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/mysql-test/suite/plugins/t/pam_init.inc b/mysql-test/suite/plugins/t/pam_init.inc new file mode 100644 index 00000000..131b787f --- /dev/null +++ b/mysql-test/suite/plugins/t/pam_init.inc @@ -0,0 +1,14 @@ + +--source include/not_embedded.inc + +if (!$PAM_PLUGIN_VERSION) { + skip No pam auth plugin; +} + +eval install plugin pam soname '$PAM_PLUGIN_VERSION'; +create user test_pam identified via pam using 'mariadb_mtr'; +create user pam_test; +grant proxy on pam_test to test_pam; + +let $plugindir=`SELECT @@global.plugin_dir`; + |