commit 474271683f5e44c6253b75102026cc8578c10d06
Author: Steve Martinelli <email address hidden>
Date: Wed Nov 26 14:12:01 2014 -0500
User ids that begin with 0 cannot authenticate through ldap
Currently, in the ldap2py function, several fields are attempted
to be converted to python friendly types.
In doing so, an attempt to convert a field to int() is attempted,
but in some cases, a user id may begin with a 0. When the user
attempts to authenticate, they will be rejected since any additional
query will use the id without the 0 in front.
Reviewed: https:/ /review. openstack. org/137449 /git.openstack. org/cgit/ openstack/ keystone/ commit/ ?id=474271683f5 e44c6253b751020 26cc8578c10d06
Committed: https:/
Submitter: Jenkins
Branch: master
commit 474271683f5e44c 6253b75102026cc 8578c10d06
Author: Steve Martinelli <email address hidden>
Date: Wed Nov 26 14:12:01 2014 -0500
User ids that begin with 0 cannot authenticate through ldap
Currently, in the ldap2py function, several fields are attempted
to be converted to python friendly types.
In doing so, an attempt to convert a field to int() is attempted,
but in some cases, a user id may begin with a 0. When the user
attempts to authenticate, they will be rejected since any additional
query will use the id without the 0 in front.
Closes-Bug: #1396763
Change-Id: I1e2436b845e534 f6cdb0398b5cca1 7d8502b905f