← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1368097] Re: UnicodeDecodeError using ldap backend

 

*** This bug is a duplicate of bug 1355489 ***
    https://bugs.launchpad.net/bugs/1355489

Agree, and the fix has been backported to stable/icehouse and should be
included in 2014.1.3

** This bug has been marked a duplicate of bug 1355489
   authenticate ldap binary fields fail when converting fields to utf8

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

Title:
  UnicodeDecodeError using ldap backend

Status in OpenStack Identity (Keystone):
  Incomplete

Bug description:
  Using the LDAP backend if any attribute contains accents, the ldap2py
  function in keystone/common/ldap/core.py fails with a
  UnicodeDecodeError.

  https://github.com/openstack/keystone/blob/1e204483e5feebe489ecca409509ae31bacb0ce2/keystone/common/ldap/core.py#L110-L129

  
  This function was introduced by commit cbf805161b84f13f459a19bfd46220c4f298b264 (https://review.openstack.org/#/c/82398/) . That commit encodes and decodes to and from utf8 the strings.

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


References