プロジェクト

全般

プロフィール

Vote #63032

完了

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

Admin Redmine さんが約4年前に追加. 約4年前に更新.

ステータス:
Closed
優先度:
低め
担当者:
-
カテゴリ:
Accounts / authentication_7
対象バージョン:
開始日:
2008/04/10
期日:
進捗率:

100%

予定工数:
category_id:
7
version_id:
1
issue_org_id:
1042
author_id:
787
assigned_to_id:
0
comments:
3
status_id:
5
tracker_id:
2
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

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.


journals

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.
--------------------------------------------------------------------------------
Applied in changeset r1345.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------

Admin Redmine さんが約4年前に更新

  • カテゴリAccounts / authentication_7 にセット
  • 対象バージョン0.7_1 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0