Added more debug output to user authentication.
This commit is contained in:
@ -1434,10 +1434,12 @@ int gw_find_mysql_user_password_sha1(char *username, uint8_t *gateway_password,
|
||||
LOGIF(LD,
|
||||
(skygw_log_write_flush(
|
||||
LOGFILE_DEBUG,
|
||||
"%lu [MySQL Client Auth], checking user [%s@%s]",
|
||||
"%lu [MySQL Client Auth], checking user [%s@%s]%s%s",
|
||||
pthread_self(),
|
||||
key.user,
|
||||
dcb->remote)));
|
||||
dcb->remote,
|
||||
key.resource != NULL ?" db: " :"",
|
||||
key.resource != NULL ?key.resource :"")));
|
||||
|
||||
/* look for user@current_ipv4 now */
|
||||
user_password = mysql_users_fetch(service->users, &key);
|
||||
|
Reference in New Issue
Block a user