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

Bug #59657: Move the client authentication_pam plugin into the server repository

Created a clear text built in client authentication plugin.
Test case added.
Added a negative test case : a login failure.
This commit is contained in:
Georgi Kodinov
2011-01-31 17:32:57 +02:00
parent 13a578c733
commit 193ced5652
5 changed files with 115 additions and 1 deletions

View File

@ -330,4 +330,16 @@ mysqld is alive
# Executing 'mysqldump'
# Executing 'mysql_upgrade'
The --upgrade-system-tables option was used, databases won't be touched.
#
# Bug #59657: Move the client authentication_pam plugin into the
# server repository
#
CREATE USER uplain@localhost IDENTIFIED WITH 'cleartext_plugin_server'
AS 'cleartext_test';
## test plugin auth
ERROR 28000: Access denied for user 'uplain'@'localhost' (using password: YES)
select USER(),CURRENT_USER();
USER() CURRENT_USER()
uplain@localhost uplain@localhost
DROP USER uplain@localhost;
End of 5.5 tests