mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
MDEV-27341 Use SET PASSWORD to change PAM service
SET PASSWORD = PASSWORD('foo') would fail for pam plugin with ERROR HY000: SET PASSWORD is ignored for users authenticating via pam plugin but SET PASSWORD = 'foo' would not. Now it will.
This commit is contained in:
@ -147,7 +147,8 @@ struct st_mysql_auth
|
||||
|
||||
@return 0 for ok, 1 for error
|
||||
|
||||
Can be NULL.
|
||||
Can be NULL, in this case one will not be able to use SET PASSWORD or
|
||||
PASSWORD('...') in GRANT, CREATE USER, ALTER USER.
|
||||
*/
|
||||
int (*hash_password)(const char *password, size_t password_length,
|
||||
char *hash, size_t *hash_length);
|
||||
|
Reference in New Issue
Block a user