Project

General

Profile

Actions

Defect #5592

closed

Better error page on LDAP Authentication error

Added by Brandon Bonds over 14 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
LDAP
Target version:
-
Start date:
2010-05-25
Due date:
% Done:

0%

Estimated time:
Resolution:
Cant reproduce
Affected version:

Description

Logging in as a non-LDAP user, and testing the LDAP connection, I get Unable to connect (LdapError: no connection to server). But logging in as an LDAP user at the same time results in a 500 error, instead of a "nice" error page.

This is in the server log:

RuntimeError (LdapError: no connection to server):
  app/models/auth_source_ldap.rb:61:in `authenticate'
  app/models/user.rb:105:in `try_to_login'
  app/controllers/account_controller.rb:139:in `password_authentication'
  app/controllers/account_controller.rb:35:in `login'

Rendering C:/Program Files/BitNami RubyStack/apps/redmine/public/500.html (500 Internal Server Error)

Related issues

Related to Redmine - Patch #21137: Rescue network level errors with LDAP authClosedJean-Philippe Lang

Actions
Has duplicate Redmine - Defect #23120: 'Internal error' when LDAP server name not resolvedClosed

Actions
Actions

Also available in: Atom PDF