yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #22686
[Bug 1375772] [NEW] Authenicate fails with IndexError exception with LDAP and user_enabled_emulation
Public bug reported:
I am running latest keystone from git (82ded4a) and am using keystone
configured with the LDAP and using user_enabled_emulation.
I get the exception "IndexError: string index out of range" when trying
to authenticate.
My research suggests that it's the commit that fixed bug 1340041 that
introduced this bug. Everything works when I revert the commit that
fixed that.
The problem is the following:
in line 1672 (keystone/common/ldap/core.py) for the patch for the above
bug the ldap.dn.str2dn array gets converted to a string which causes
naming_rdn to contain "[" and then I get an exception on line 1675
because the string has length one.
** Affects: keystone
Importance: Undecided
Status: New
** Description changed:
I am running latest keystone from git (82ded4a) and am using keystone
configured with the LDAP and using user_enabled_emulation.
I get the exception "IndexError: string index out of range" when trying
to authenticate.
- My research suggests that it's the commit that fixed bug 1340041
- (https://launchpad.net/bugs/1340041) that introduced this bug.
- Everything works when I revert the commit that fixed that.
+ My research suggests that it's the commit that fixed bug 1340041 that
+ introduced this bug. Everything works when I revert the commit that
+ fixed that.
The problem is the following:
in line 1672 (keystone/common/ldap/core.py) for the patch for the above
bug the ldap.dn.str2dn array gets converted to a string which causes
naming_rdn to contain "[" and then I get an exception on line 1675
because the string has length one.
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1375772
Title:
Authenicate fails with IndexError exception with LDAP and
user_enabled_emulation
Status in OpenStack Identity (Keystone):
New
Bug description:
I am running latest keystone from git (82ded4a) and am using keystone
configured with the LDAP and using user_enabled_emulation.
I get the exception "IndexError: string index out of range" when
trying to authenticate.
My research suggests that it's the commit that fixed bug 1340041 that
introduced this bug. Everything works when I revert the commit that
fixed that.
The problem is the following:
in line 1672 (keystone/common/ldap/core.py) for the patch for the
above bug the ldap.dn.str2dn array gets converted to a string which
causes naming_rdn to contain "[" and then I get an exception on line
1675 because the string has length one.
To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1375772/+subscriptions
Follow ups
References