MantisBT: master-1.2.x a8f9af9c

Author Committer Branch Timestamp Parent
vboctor vboctor master-1.2.x 2009-10-26 02:29 master-1.2.x 1146ee66
Affected Issues  0011078: LDAP realname is not always picked up -- pull data from LDAP to local database on login
Changeset

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.
mod - core/ldap_api.php Diff File