← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1751048] [NEW] Resolving the members of a group with no members in LDAP throws an exception

 

Public bug reported:

In an environment with an ldap server as identity backend, if a group
with no members has a role on a project, if you try to resolve the
memberships on a specific project it will throw an exception.

This is caused as when searching from members in a group in LDAP, if it
does not have any it returns empty and in the code is always assuming
that there is at least an object returned

** Affects: keystone
     Importance: Undecided
         Status: Invalid

** Changed in: keystone
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Identity (keystone).
https://bugs.launchpad.net/bugs/1751048

Title:
  Resolving the members of a group with no members in LDAP throws an
  exception

Status in OpenStack Identity (keystone):
  Invalid

Bug description:
  In an environment with an ldap server as identity backend, if a group
  with no members has a role on a project, if you try to resolve the
  memberships on a specific project it will throw an exception.

  This is caused as when searching from members in a group in LDAP, if
  it does not have any it returns empty and in the code is always
  assuming that there is at least an object returned

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