Project

General

Profile

Actions

Defect #8978

closed

LDAP timeout if an LDAP auth provider is unreachable

Added by Davide Ferrari over 13 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
Normal
Category:
LDAP
Target version:
Start date:
2011-08-03
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

Hi

we are using Redmine with a like 3 different LDAP auth sources, and sometimes if one of the goes down, almsot every process involved with Redmine slow down terribly.
It seems that when some use rtry to log in, Redmien try to contact the server that's not responding, waiting indefinitely for the action to be completed, making everything slow. There should be a (configurable perhaps?) timeout (I think that a sane default could be 30 seconds), and then the LDAP source should be considered dead (at least for that request).

i'm using Redmine 1.1.2.stable.5317


Files

ldap_timeout-v2.0.3.patch (2.46 KB) ldap_timeout-v2.0.3.patch Brett Patterson, 2012-06-29 04:32
ldap_timeout_v2-redmine2.0.3.patch (3.91 KB) ldap_timeout_v2-redmine2.0.3.patch LDAP Timeout patch - v2 - redmine 2.0.3 Brett Patterson, 2012-06-30 04:10
Actions

Also available in: Atom PDF