mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
MDEV-18686 Add option to PAM authentication plugin to allow case insensitive username matching
add a new option --pam-windbind-workaround for a pam plugin to work around pam_winbind unconditional username lowercasing
This commit is contained in:
@ -22,4 +22,24 @@ Now, the magic number!
|
||||
PIN: ****
|
||||
drop user test_pam;
|
||||
drop user pam_test;
|
||||
create user PAM_TEST identified via pam using 'mariadb_mtr';
|
||||
#
|
||||
# athentication is unsuccessful
|
||||
#
|
||||
Challenge input first.
|
||||
Enter: not very secret challenge
|
||||
Now, the magic number!
|
||||
PIN: ****
|
||||
set global pam_winbind_workaround=1;
|
||||
#
|
||||
# athentication is successful
|
||||
#
|
||||
Challenge input first.
|
||||
Enter: not very secret challenge
|
||||
Now, the magic number!
|
||||
PIN: ****
|
||||
select user(), current_user(), database();
|
||||
user() current_user() database()
|
||||
PAM_TEST@localhost PAM_TEST@% test
|
||||
drop user PAM_TEST;
|
||||
uninstall plugin pam;
|
||||
|
Reference in New Issue
Block a user