multiple backend mapping generator fails with non-string ids

Bug #1391592 reported by Steve Martinelli
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Identity (keystone)
In Progress
High
Steve Martinelli

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to keystone (master)

Fix proposed to branch: master
Review: https://review.openstack.org/133815

Changed in keystone:
assignee: nobody → Steve Martinelli (stevemar)
status: New → In Progress
Changed in keystone:
importance: Undecided → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on keystone (master)

Change abandoned by Steve Martinelli (<email address hidden>) on branch: master
Review: https://review.openstack.org/133815
Reason: I think https://review.openstack.org/#/c/137449/ will fix this issue too

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.