summaryrefslogtreecommitdiff
path: root/mysql-test/suite/plugins/r/pam.result
diff options
context:
space:
mode:
authorOleksandr Byelkin <sanja@mariadb.com>2022-06-13 14:37:59 +0200
committerSergei Golubchik <serg@mariadb.org>2022-11-01 16:33:00 +0100
commit594bed9b427704001fc4beca9943006a605305f4 (patch)
tree62fe26dcdaded3b8b05ccf1ad9afaee2f1bdf035 /mysql-test/suite/plugins/r/pam.result
parent749c12782298dce721656cd357e339643a7d8af4 (diff)
downloadmariadb-git-594bed9b427704001fc4beca9943006a605305f4.tar.gz
MDEV-5215 prerequisite: remove test and test_* database hacks in the test suite
Diffstat (limited to 'mysql-test/suite/plugins/r/pam.result')
-rw-r--r--mysql-test/suite/plugins/r/pam.result4
1 files changed, 4 insertions, 0 deletions
diff --git a/mysql-test/suite/plugins/r/pam.result b/mysql-test/suite/plugins/r/pam.result
index b8588916169..ceb81690cd8 100644
--- a/mysql-test/suite/plugins/r/pam.result
+++ b/mysql-test/suite/plugins/r/pam.result
@@ -1,6 +1,8 @@
install plugin pam soname 'auth_pam.so';
create user test_pam identified via pam using 'mariadb_mtr';
+grant all on test.* to test_pam;
create user pam_test;
+grant all on test.* to pam_test;
grant proxy on pam_test to test_pam;
#
# athentication is successful, challenge/pin are ok
@@ -72,6 +74,7 @@ select user(), current_user(), database();
drop user test_pam;
drop user pam_test;
create user PAM_TEST identified via pam using 'mariadb_mtr';
+grant all on test.* to PAM_TEST;
#
# athentication is unsuccessful
#
@@ -95,6 +98,7 @@ drop user PAM_TEST;
# MDEV-27341 Use SET PASSWORD to change PAM service
#
create user pam_test identified via pam using 'mariadb_mtr';
+grant all on test.* to pam_test;
Challenge input first.
Enter: *************************
Now, the magic number!