Project

General

Profile

Actions

Feature #1042

closed

Better error message for failed LDAP on-the-fly user creation

Added by F. D. Castel almost 16 years ago. Updated almost 16 years ago.

Status:
Closed
Priority:
Low
Assignee:
-
Category:
Accounts / authentication
Target version:
Start date:
2008-04-10
Due date:
% Done:

100%

Estimated time:
Resolution:
Fixed

Description

When using LDAP on-the-fly user creation, if username and password provided are correct but any required field (First Name, Last Name, E-mail) could not be fetched from server, Redmine returns a unhelpful error message:

"Invalid user or password"

A better informative message could be:

"Redmine could not retrieve enough information from LDAP server to enable your account. Please, contact your network administrator."

I lost one hour because some accounts were without e-mail address on my LDAP server. :)

Please also add a warning about this into Wiki (http://www.redmine.org/wiki/redmine/RedmineLDAP).
I tried, but it is read-only.

Actions #1

Updated by Jean-Philippe Lang almost 16 years ago

I agree with you, the error message is not very helpfull. I'll try to change it.
I've added some information about that in the wiki.

Actions #2

Updated by Jean-Philippe Lang almost 16 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Applied in changeset r1345.

Actions #3

Updated by Jean-Philippe Lang almost 16 years ago

  • Target version set to 0.7
  • Resolution set to Fixed
Actions

Also available in: Atom PDF