Closed (won't fix)
Project:
LDAP integration
Version:
5.x-1.3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Oct 2007 at 14:27 UTC
Updated:
6 Aug 2011 at 18:57 UTC
This issue has been filed many times before but each scenario was a bit different. I am hereby describing my situation and the very simple fix I made.
Our LDAP schema doesn't contain an email attribute. As a consequence, the current ldapauth code resets the user's email to NULL upon login. Not nice.
Attached is a fix that simply reads the email from the $user object in case the LDAP email attribute is not present. This way the email won't get erased.
| Comment | File | Size | Author |
|---|---|---|---|
| email-preserve.patch | 495 bytes | infojunkie |
Comments
Comment #1
johnbarclay commentedClosing 5.x issues to clean out issue queue.