With the latest current dev version [6.x-1.x-dev (2009-Feb-13)] the "mail" field of the "users" table of Drupal's SQL database gets deleted every time I update a LDAP data mapped custom profile field. The updated profile field synchronizes fine to the LDAP server, but then Drupal no longer has the E-mail address stored.

CommentFileSizeAuthor
#4 l.patch1.1 KBmiglius

Comments

roball’s picture

Title: E-mail field gets deleted » E-mail field gets deleted from DB
Priority: Critical » Normal

I have now tracked this problem down to only occur when you set "Administer -> Site configuration -> LDAP -> Authentication -> Settings -> LDAP UI Options -> Alter email field on user edit form" to "Remove email field from form". When this setting is kept on the default of "Do nothing", there's no problem.

miglius’s picture

Assigned: Unassigned » miglius
Issue tags: +ldapdata
roball’s picture

Title: E-mail field gets deleted from DB » Value of E-mail field gets deleted from DB
miglius’s picture

Status: Active » Needs review
StatusFileSize
new1.1 KB
miglius’s picture

Status: Needs review » Fixed

Committed the patch.

Status: Fixed » Closed (fixed)
Issue tags: -ldapdata

Automatically closed -- issue fixed for 2 weeks with no activity.