← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1839441] [NEW] Ldap extra_attributes are discarded if not in user model

 

Public bug reported:

When configuring the ldap driver, there is the possibility to add extra
attributes to the user/group objects, this is configured in ldap by the
(user|group)_additional_attribute_mapping.

Although the ldap queries retrieve the information from the attribute
specified, when this gets then parsed in _ldap_res_to_model it gets
ignored as the user model does not contain these attributes

https://github.com/openstack/keystone/blob/master/keystone/identity/backends/ldap/common.py#L1358

** Affects: keystone
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Identity (keystone).
https://bugs.launchpad.net/bugs/1839441

Title:
  Ldap extra_attributes are discarded if not in user model

Status in OpenStack Identity (keystone):
  New

Bug description:
  When configuring the ldap driver, there is the possibility to add
  extra attributes to the user/group objects, this is configured in ldap
  by the (user|group)_additional_attribute_mapping.

  Although the ldap queries retrieve the information from the attribute
  specified, when this gets then parsed in _ldap_res_to_model it gets
  ignored as the user model does not contain these attributes

  https://github.com/openstack/keystone/blob/master/keystone/identity/backends/ldap/common.py#L1358

To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1839441/+subscriptions