diff --git a/lib/MySQL_Protocol.cpp b/lib/MySQL_Protocol.cpp index 77a37a146..0480ad0b0 100644 --- a/lib/MySQL_Protocol.cpp +++ b/lib/MySQL_Protocol.cpp @@ -1819,6 +1819,8 @@ __do_auth: userinfo->fe_username=strdup((const char *)tmp_user); free(tmp_user); ret=true; + } else { + proxy_error("Unable to load credentials for backend user %s , associated to LDAP user %s\n", backend_username, user); } } else { ret=true; diff --git a/lib/MySQL_Session.cpp b/lib/MySQL_Session.cpp index c2335445b..c93f4e23c 100644 --- a/lib/MySQL_Session.cpp +++ b/lib/MySQL_Session.cpp @@ -2792,7 +2792,7 @@ __get_pkts_from_client: } } } - proxy_debug(PROXY_DEBUG_MYSQL_CONNECTION, 5, "Statuses: WAITING_CLIENT_DATA - STATE_SLEEP\n"); + proxy_debug(PROXY_DEBUG_MYSQL_CONNECTION, 5, "Session=%p , client_myds=%p . Statuses: WAITING_CLIENT_DATA - STATE_SLEEP\n", this, client_myds); if (session_fast_forward==true) { // if it is fast forward mybe=find_or_create_backend(current_hostgroup); // set a backend mybe->server_myds->reinit_queues(); // reinitialize the queues in the myds . By default, they are not active