mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
Pre requiste MDEV-9245: add host to validate password interface
Hostname added to the interface. Cracklib plugin fixed according to the new interface.
This commit is contained in:
@@ -30,7 +30,7 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#define MariaDB_PASSWORD_VALIDATION_INTERFACE_VERSION 0x0100
|
||||
#define MariaDB_PASSWORD_VALIDATION_INTERFACE_VERSION 0x0101
|
||||
|
||||
/**
|
||||
Password validation plugin descriptor
|
||||
@@ -43,7 +43,8 @@ struct st_mariadb_password_validation
|
||||
and return 0 if the password has passed the validation.
|
||||
*/
|
||||
int (*validate_password)(const MYSQL_CONST_LEX_STRING *username,
|
||||
const MYSQL_CONST_LEX_STRING *password);
|
||||
const MYSQL_CONST_LEX_STRING *password,
|
||||
const MYSQL_CONST_LEX_STRING *hostname);
|
||||
};
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
Reference in New Issue
Block a user