← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1293698] [NEW] Can't map user description using LDAP

 

Public bug reported:


There's no way to set a mapping for the description attribute.

First, there's no user_desc_attribute config option (there's a
tenant_desc_attribute), although there doesn't need to be, but

Second, if you try to set
"user_additional_attribute_mapping=description:description" the server
ignores it. The log says:

  WARNING keystone.common.ldap.core [-] Invalid additional attribute
mapping: "description:description". Value "description" must use one of
password, enabled, default_project_id, name, email.

Why only allow the attributes that keystone knows about? Those
attributes already have user_*_attribute config options anyways!

Third, when keystone gets the users, it doesn't include the extra attr
mapping attrs.

** Affects: keystone
     Importance: Undecided
     Assignee: Brant Knudson (blk-u)
         Status: New

** Changed in: keystone
     Assignee: (unassigned) => Brant Knudson (blk-u)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1293698

Title:
  Can't map user description using LDAP

Status in OpenStack Identity (Keystone):
  New

Bug description:
  
  There's no way to set a mapping for the description attribute.

  First, there's no user_desc_attribute config option (there's a
  tenant_desc_attribute), although there doesn't need to be, but

  Second, if you try to set
  "user_additional_attribute_mapping=description:description" the server
  ignores it. The log says:

    WARNING keystone.common.ldap.core [-] Invalid additional attribute
  mapping: "description:description". Value "description" must use one
  of password, enabled, default_project_id, name, email.

  Why only allow the attributes that keystone knows about? Those
  attributes already have user_*_attribute config options anyways!

  Third, when keystone gets the users, it doesn't include the extra attr
  mapping attrs.

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


Follow ups

References