mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
a simple pam user mapper module
This commit is contained in:
@ -2,7 +2,7 @@ install plugin pam soname 'auth_pam.so';
|
||||
create user test_pam identified via pam using 'mariadb_mtr';
|
||||
#
|
||||
# athentication is successful, challenge/pin are ok
|
||||
# note that current_user() differts from user()
|
||||
# note that current_user() differs from user()
|
||||
#
|
||||
Challenge input first.
|
||||
Enter: not very secret challenge
|
||||
|
@ -29,7 +29,7 @@ EOF
|
||||
|
||||
--echo #
|
||||
--echo # athentication is successful, challenge/pin are ok
|
||||
--echo # note that current_user() differts from user()
|
||||
--echo # note that current_user() differs from user()
|
||||
--echo #
|
||||
--exec $MYSQL_TEST -u test_pam --plugin-dir=$plugindir < $MYSQLTEST_VARDIR/tmp/pam_good.txt
|
||||
|
||||
|
Reference in New Issue
Block a user