Project

General

Profile

Actions

Defect #4283

open

LDAP attributes should be read as user

Added by Felix Schäfer almost 15 years ago. Updated almost 12 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
LDAP
Target version:
-
Start date:
2009-11-24
Due date:
% Done:

0%

Estimated time:
Resolution:
Affected version:

Description

Currently, the LDAP Auth source connects as the "redmine" user to look for the DN associated to a username, and gathers all the necessary info needed to create a user in redmine in the same process, and only then authenticates the user against LDAP. The problem here is that the "redmune" user in LDAP needs some access to all the needed attributes for all users in the LDAP.

To avoid this, it is good practice in the LDAP world to use the "application" LDAP user to look up the DN corresponding to a username, and then look up additional attributes when connected as the user itself, not as the "application" user.

I think I could provide a patch if needed.


Files

Actions

Also available in: Atom PDF