Drupal Mappings are not updated on user login

Created on 14 October 2021, over 2 years ago
Updated 4 October 2023, 9 months ago

Problem/Motivation

The LDAP data is not getting mapped properly to Drupal fields on user log when "Create or Sync to Drupal user on successful authentication with LDAP credentials. (Requires LDAP Authentication module)" is checked

Steps to reproduce

  • Check "Create or Sync to Drupal user on successful authentication with LDAP credentials. (Requires LDAP Authentication module)." in ldap_user settings
  • Add a custom drupal mapping into a field (i.e. [givenName] => field_user_given_name) with "On Sync to Drupal User" checked.
  • Log into with an LDAP user.

Proposed resolution

Save the account in DrupalUserProcessor::drupalUserLogsIn()

πŸ› Bug report
Status

Fixed

Version

4.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States zipymonkey Durham, NH

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024