← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1375772] Re: Authenicate fails with IndexError exception with LDAP and user_enabled_emulation

 

** Changed in: keystone
       Status: Fix Committed => Fix Released

** Changed in: keystone
    Milestone: None => juno-rc2

** Tags removed: juno-rc-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/1375772

Title:
  Authenicate fails with IndexError exception with LDAP and
  user_enabled_emulation

Status in OpenStack Identity (Keystone):
  Fix Released

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


References