View Issue Details

IDProjectCategoryView StatusLast Update
0011078mantisbtldappublic2010-02-22 14:35
Reportervboctor Assigned Tovboctor  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Product Version1.2.0rc2 
Fixed in Version1.2.0 
Summary0011078: LDAP realname is not always picked up -- pull data from LDAP to local database on login
Description

In several places of the code the real name is picked up from the realname field rather than from the LDAP server even though the config instructs to get the realname from LDAP.

The proposed fix is to update the user data from LDAP to the database on login. This includes password, realname and email. This will not fix the issue until all users login. However, it is the right long term fix since:

  1. Locations that require retrieval of user realname don't have to know about LDAP.
  2. Database information will be kept up to date and hence we can fallback to the database.
  3. Local queries against the DB can be done without going back to LDAP.
  4. Less possibility for LDAP specific bugs.
TagsNo tags attached.

Activities

There are no notes attached to this issue.

Related Changesets

MantisBT: master-1.2.x a8f9af9c

2009-10-26 02:29

vboctor


Details Diff
Fixes 0011078: LDAP realname is not always picked up -- pull data from LDAP to local database on login

The fix is to update the user data from LDAP to the database on login. This includes password, realname and email. This will not fix the issue until all users login. However, it is the right long term fix since:

1. Locations that require retrieval of user realname don't have to know about LDAP.
2. Database information will be kept up to date and hence we can fallback to the database.
3. Local queries against the DB can be done without going back to LDAP.
4. Less possibility for LDAP specific bugs.
Affected Issues
0011078
mod - core/ldap_api.php Diff File

MantisBT: master 7d3ad3b5

2009-10-26 02:29

vboctor


Details Diff
Fixes 0011078: LDAP realname is not always picked up -- pull data from LDAP to local database on login

The fix is to update the user data from LDAP to the database on login. This includes password, realname and email. This will not fix the issue until all users login. However, it is the right long term fix since:

1. Locations that require retrieval of user realname don't have to know about LDAP.
2. Database information will be kept up to date and hence we can fallback to the database.
3. Local queries against the DB can be done without going back to LDAP.
4. Less possibility for LDAP specific bugs.
Affected Issues
0011078
mod - core/ldap_api.php Diff File