Report a clear error if LDAP authentication doesn't complete

Also added more debugging information
pull/2209/head
René Cannaò 7 years ago
parent 7d363bb7c4
commit 015fc2a025

@ -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;

@ -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

Loading…
Cancel
Save