Added a log message for mysql_old_password
Added a log message for mysql_old_password detection: user is not loaded
This commit is contained in:
parent
efa3baa273
commit
398eee8ece
@ -715,7 +715,19 @@ getUsers(SERVICE *service, USERS *users)
|
||||
|
||||
int rc = 0;
|
||||
char *password = NULL;
|
||||
|
||||
if (row[2] != NULL) {
|
||||
/* detect mysql_old_password (pre 4.1 protocol) */
|
||||
if (strlen(row[2]) == 16) {
|
||||
LOGIF(LE, (skygw_log_write_flush(
|
||||
LOGFILE_ERROR,
|
||||
"Warning: Unsupported mysql_old_password detected for user %s@%s: user not loaded for service [%s]",
|
||||
row[0],
|
||||
row[1],
|
||||
service->name)));
|
||||
continue;
|
||||
}
|
||||
|
||||
if (strlen(row[2]) > 1)
|
||||
password = row[2] +1;
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user