summaryrefslogtreecommitdiff
path: root/mysql-test/suite/plugins/r/pam_cleartext.result
blob: 07c379a4b7fd164b5f0a8864710d32fe8b93923a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
install plugin pam soname 'auth_pam.so';
create user test_pam identified via pam using 'mariadb_mtr';
create user pam_test;
grant proxy on pam_test to test_pam;
show variables like 'pam_use_%';
Variable_name	Value
pam_use_cleartext_plugin	ON
#
# same test as in pam.test now fails
#
#
# success
#
user()	current_user()	database()
test_pam@localhost	pam_test@%	NULL
#
# failure
#
drop user test_pam;
drop user pam_test;
uninstall plugin pam;