← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1391592] [NEW] multiple backend mapping generator fails with non-string ids

 

Public bug reported:

if user IDs in LDAP are all numeric employee numbers.   Authentication
as an LDAP user will fail, looks like our numeric IDs were being treated
as ints:

2014-11-06 21:53:14.305 30602 TRACE keystone.common.wsgi   File "/usr/lib/python2.7/site-packages/keystone/identity/id_generators/sha256.py", line 27, in generate_public_ID
2014-11-06 21:53:14.305 30602 TRACE keystone.common.wsgi     m.update(mapping[key])
2014-11-06 21:53:14.305 30602 TRACE keystone.common.wsgi TypeError: must be string or buffer, not int

** Affects: keystone
     Importance: Undecided
         Status: New


** Tags: juno-backport-potential

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

Title:
  multiple backend mapping generator fails with non-string ids

Status in OpenStack Identity (Keystone):
  New

Bug description:
  if user IDs in LDAP are all numeric employee numbers.   Authentication
  as an LDAP user will fail, looks like our numeric IDs were being
  treated as ints:

  2014-11-06 21:53:14.305 30602 TRACE keystone.common.wsgi   File "/usr/lib/python2.7/site-packages/keystone/identity/id_generators/sha256.py", line 27, in generate_public_ID
  2014-11-06 21:53:14.305 30602 TRACE keystone.common.wsgi     m.update(mapping[key])
  2014-11-06 21:53:14.305 30602 TRACE keystone.common.wsgi TypeError: must be string or buffer, not int

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


Follow ups

References