Project

General

Profile

Actions

Defect #3984

open

On-the-fly user creation fails silently if LDAP attribute is not found for new user

Added by Stefan Stefansson about 15 years ago. Updated over 12 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Accounts / authentication
Target version:
-
Start date:
2009-10-07
Due date:
% Done:

0%

Estimated time:
Resolution:
Affected version:

Description

I've turned on on-the-fly creation of users in the LDAP authentication settings and filled in the appropriate attributes to copy for login, first name, last name and email.

A few of the users in our LDAP directory do not have an email defined while most of them do. When I log in a user for the first time that has an email defined everything works fine. However, if I log in a user who does not have an email address defined in LDAP, the login fails completely but without giving the reason.

Proposed solution:
Best would be if the login succeeds but the user is prompted with a message and asked to fill in the missing information about himself. This is what happens when the attributes fields are left completely blank and no mapping done between these fields and the attributes in LDAP. Then, redMine prompts the user upon first login to fill in this information.

Actions

Also available in: Atom PDF