1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00

make pam plugin to build in 5.5.

fix pam.tets for 5.5
This commit is contained in:
Sergei Golubchik
2012-02-03 10:31:39 +01:00
parent 6af588d820
commit 892cd36992
6 changed files with 6 additions and 67 deletions

View File

@ -1,5 +1,7 @@
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;
#
# athentication is successful, challenge/pin are ok
# note that current_user() differts from user()
@ -19,4 +21,5 @@ Enter: not very secret challenge
Now, the magic number!
PIN: ****
drop user test_pam;
drop user pam_test;
uninstall plugin pam;