get_users on tenant retrieves duplicated entries on LDAP backend

Bug #1050406 reported by Jose Castro Leon on 2012-09-13
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Identity (keystone)
Medium
Jose Castro Leon

Bug Description

When you configure a LDAP backend the function get_users(self, tenant_id, role_id=None) returns duplicated entries if the user is a member of the project and if it is also included in any of the roles of the same project.

On the sql side there is a filter to avoid duplicated entries

Changed in keystone:
assignee: nobody → Jose Castro Leon (jose-castro-leon)
Joseph Heck (heckj) on 2012-09-14
tags: added: blueprint ldap-ad
Changed in keystone:
status: New → Triaged
importance: Undecided → Medium
Changed in keystone:
status: Triaged → In Progress
Changed in keystone:
status: In Progress → Fix Committed
Changed in keystone:
status: Fix Committed → In Progress
Changed in keystone:
status: In Progress → Fix Committed

Reviewed: https://review.openstack.org/13097
Committed: http://github.com/openstack/keystone/commit/1e599f92ac9172c82cdae33d120d6dd5398ba42b
Submitter: Jenkins
Branch: master

commit 1e599f92ac9172c82cdae33d120d6dd5398ba42b
Author: Jose Castro Leon <email address hidden>
Date: Mon Sep 17 19:22:14 2012 +0200

    Updated Fix for duplicated entries on LDAP backend for get_tenant_users

    Fixes bug 1050406

    Change-Id: I74735c6c6094d3e57adea26e5035d19c318f73b3

Changed in keystone:
status: Fix Committed → Fix Released
Thierry Carrez (ttx) wrote :

Do not set to FixReleased until the fix is released in a milestone, thanks.

Changed in keystone:
status: Fix Released → Fix Committed
Joseph Heck (heckj) on 2012-11-20
Changed in keystone:
milestone: none → grizzly-1
Thierry Carrez (ttx) on 2012-11-22
Changed in keystone:
status: Fix Committed → Fix Released
Thierry Carrez (ttx) on 2013-04-04
Changed in keystone:
milestone: grizzly-1 → 2013.1
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers