1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-07 00:04:31 +03:00

Fix typos in mysql-test/

This commit is contained in:
Vasilii Lakhin
2025-04-07 20:13:58 +03:00
committed by Daniel Black
parent 40c5b62531
commit 1b95e46524
682 changed files with 967 additions and 968 deletions

View File

@@ -9,7 +9,7 @@ user() current_user()
test_dialog@localhost test_dialog@%
#
# without -p. up to three questions are asked on the stdin.
# athentication is successful, the correct pasword is on the third line
# authentication is successful, the correct password is on the third line
#
Password, please: ***
Password, please: ****
@@ -18,7 +18,7 @@ select user(), current_user();
user() current_user()
test_dialog@localhost test_dialog@%
#
# athentication is unsuccessful, first three lines are all wrong
# authentication is unsuccessful, first three lines are all wrong
#
Password, please: ***
Password, please: ****

View File

@@ -5,7 +5,7 @@ create user pam_test;
grant all on test.* to pam_test;
grant proxy on pam_test to test_pam;
#
# athentication is successful, challenge/pin are ok
# authentication is successful, challenge/pin are ok
# note that current_user() differs from user()
#
Challenge input first.
@@ -16,21 +16,21 @@ select user(), current_user(), database();
user() current_user() database()
test_pam@localhost pam_test@% test
#
# athentication is unsuccessful
# authentication is unsuccessful
#
Challenge input first.
Enter: *************************
Now, the magic number!
PIN: 9224
#
# athentication is unsuccessful
# authentication is unsuccessful
#
Challenge input first.
Enter: ****************
Now, the magic number!
PIN: 616
#
# athentication is successful
# authentication is successful
#
Now, the magic number!
PIN: 9212
@@ -38,7 +38,7 @@ select user(), current_user(), database();
user() current_user() database()
test_pam@localhost pam_test@% test
#
# athentication is unsuccessful
# authentication is unsuccessful
#
Now, the magic number!
PIN: 9212
@@ -76,7 +76,7 @@ drop user pam_test;
create user PAM_TEST identified via pam using 'mariadb_mtr';
grant all on test.* to PAM_TEST;
#
# athentication is unsuccessful
# authentication is unsuccessful
#
Challenge input first.
Enter: *************************
@@ -84,7 +84,7 @@ Now, the magic number!
PIN: 9225
set global pam_winbind_workaround=1;
#
# athentication is successful
# authentication is successful
#
Challenge input first.
Enter: *************************

View File

@@ -5,7 +5,7 @@ create user pam_test;
grant all on test.* to pam_test;
grant proxy on pam_test to test_pam;
#
# athentication is successful, challenge/pin are ok
# authentication is successful, challenge/pin are ok
# note that current_user() differs from user()
#
Challenge input first.
@@ -16,14 +16,14 @@ select user(), current_user(), database();
user() current_user() database()
test_pam@localhost pam_test@% test
#
# athentication is unsuccessful
# authentication is unsuccessful
#
Challenge input first.
Enter: *************************
Now, the magic number!
PIN: 9224
#
# athentication is successful
# authentication is successful
#
Now, the magic number!
PIN: 9212
@@ -31,7 +31,7 @@ select user(), current_user(), database();
user() current_user() database()
test_pam@localhost pam_test@% test
#
# athentication is unsuccessful
# authentication is unsuccessful
#
Now, the magic number!
PIN: 9212

View File

@@ -1,6 +1,6 @@
install soname "password_reuse_check";
set global password_reuse_check_interval= 0;
# Default value (sould be unlimited i.e. 0)
# Default value (should be unlimited i.e. 0)
SHOW GLOBAL VARIABLES like "password_reuse_check%";
Variable_name Value
password_reuse_check_interval 0
@@ -19,7 +19,7 @@ Level Code Message
Warning 1819 password_reuse_check: The password was already used
Error 1819 Your password does not satisfy the current policy requirements (password_reuse_check)
Error 1396 Operation ALTER USER failed for 'user_name'@'localhost'
# check exparation
# check expiration
set global password_reuse_check_interval= 10;
alter user user_name@localhost identified by 'test_pwd';
ERROR HY000: Operation ALTER USER failed for 'user_name'@'localhost'

View File

@@ -23,7 +23,7 @@ CREATE OR REPLACE SERVER s1 FOREIGN DATA WRAPPER mariadb OPTIONS ( PASSWORD "pwd
# pattern should not be found
NOT FOUND /pwd_123/ in server_audit.log
# pattern should not be found
# cleaunup
# cleanup
DROP SERVER s1;
DROP USER u1;
DROP USER u2;