mirror of
https://github.com/apache/httpd.git
synced 2025-08-07 04:02:58 +03:00
add TRACE5 messages around each LDAP retry
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1510085 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -971,6 +971,7 @@ start_over:
|
||||
"failed with server down";
|
||||
uldap_connection_unbind(ldc);
|
||||
failures++;
|
||||
ap_log_rerror(APLOG_MARK, APLOG_TRACE5, 0, r, "%s (attempt %d)", ldc->reason, failures);
|
||||
goto start_over;
|
||||
}
|
||||
if (result == LDAP_TIMEOUT && failures == 0) {
|
||||
@@ -982,6 +983,7 @@ start_over:
|
||||
"failed with timeout";
|
||||
uldap_connection_unbind(ldc);
|
||||
failures++;
|
||||
ap_log_rerror(APLOG_MARK, APLOG_TRACE5, 0, r, "%s (attempt %d)", ldc->reason, failures);
|
||||
goto start_over;
|
||||
}
|
||||
if (result != LDAP_SUCCESS) {
|
||||
@@ -1130,6 +1132,7 @@ start_over:
|
||||
ldc->reason = "ldap_compare_s() failed with server down";
|
||||
uldap_connection_unbind(ldc);
|
||||
failures++;
|
||||
ap_log_rerror(APLOG_MARK, APLOG_TRACE5, 0, r, "%s (attempt %d)", ldc->reason, failures);
|
||||
goto start_over;
|
||||
}
|
||||
if (result == LDAP_TIMEOUT && failures == 0) {
|
||||
@@ -1140,6 +1143,7 @@ start_over:
|
||||
ldc->reason = "ldap_compare_s() failed with timeout";
|
||||
uldap_connection_unbind(ldc);
|
||||
failures++;
|
||||
ap_log_rerror(APLOG_MARK, APLOG_TRACE5, 0, r, "%s (attempt %d)", ldc->reason, failures);
|
||||
goto start_over;
|
||||
}
|
||||
|
||||
@@ -1247,6 +1251,7 @@ start_over:
|
||||
" down";
|
||||
uldap_connection_unbind(ldc);
|
||||
failures++;
|
||||
ap_log_rerror(APLOG_MARK, APLOG_TRACE5, 0, r, "%s (attempt %d)", ldc->reason, failures);
|
||||
goto start_over;
|
||||
}
|
||||
if (result == LDAP_TIMEOUT && failures == 0) {
|
||||
@@ -1257,6 +1262,7 @@ start_over:
|
||||
ldc->reason = "ldap_search_ext_s() for subgroups failed with timeout";
|
||||
uldap_connection_unbind(ldc);
|
||||
failures++;
|
||||
ap_log_rerror(APLOG_MARK, APLOG_TRACE5, 0, r, "%s (attempt %d)", ldc->reason, failures);
|
||||
goto start_over;
|
||||
}
|
||||
|
||||
@@ -1725,6 +1731,7 @@ start_over:
|
||||
ldc->reason = "ldap_search_ext_s() for user failed with server down";
|
||||
uldap_connection_unbind(ldc);
|
||||
failures++;
|
||||
ap_log_rerror(APLOG_MARK, APLOG_TRACE5, 0, r, "%s (attempt %d)", ldc->reason, failures);
|
||||
goto start_over;
|
||||
}
|
||||
|
||||
@@ -1732,6 +1739,7 @@ start_over:
|
||||
ldc->reason = "ldap_search_ext_s() for user failed with timeout";
|
||||
uldap_connection_unbind(ldc);
|
||||
failures++;
|
||||
ap_log_rerror(APLOG_MARK, APLOG_TRACE5, 0, r, "%s (attempt %d)", ldc->reason, failures);
|
||||
goto start_over;
|
||||
}
|
||||
|
||||
@@ -1796,6 +1804,7 @@ start_over:
|
||||
ldap_msgfree(res);
|
||||
uldap_connection_unbind(ldc);
|
||||
failures++;
|
||||
ap_log_rerror(APLOG_MARK, APLOG_TRACE5, 0, r, "%s (attempt %d)", ldc->reason, failures);
|
||||
goto start_over;
|
||||
}
|
||||
|
||||
@@ -1991,6 +2000,7 @@ start_over:
|
||||
ldc->reason = "ldap_search_ext_s() for user failed with server down";
|
||||
uldap_connection_unbind(ldc);
|
||||
failures++;
|
||||
ap_log_rerror(APLOG_MARK, APLOG_TRACE5, 0, r, "%s (attempt %d)", ldc->reason, failures);
|
||||
goto start_over;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user