Feature #1042

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

Added by Fabio Augusto Dal Castel 105 days ago. Updated 103 days ago.

Status:Closed Start:2008-04-10
Priority:Low Due date:
Assigned to:- % Done:

100%

Category:Accounts
Target version:0.7
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.

Associated revisions

Revision 1345
Added by jplang 103 days ago

Better error message and AR errors in log for failed LDAP on-the-fly user creation (closes #932, #1042).

History

2008-04-12 19:39 - Jean-Philippe Lang

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.

2008-04-13 11:17 - Jean-Philippe Lang

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

Applied in changeset r1345.

2008-04-13 11:17 - Jean-Philippe Lang

  • Target version set to 0.7
  • Resolution set to Fixed

Also available in: Atom PDF