mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
MDEV-19879 server can send empty error message to client with pam_use_cleartext_plugin
fixed in MDEV-19878, here just adding tests
This commit is contained in:
@@ -8,6 +8,14 @@ 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;
|
||||
|
Reference in New Issue
Block a user