get_users on tenant retrieves duplicated entries on LDAP backend

Bug #1050406 reported by Jose Castro Leon
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Identity (keystone)
Fix Released
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)
tags: added: blueprint ldap-ad
Changed in keystone:
status: New → Triaged
importance: Undecided → Medium
Changed in keystone:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to keystone (master)

Fix proposed to branch: master
Review: https://review.openstack.org/13097

Changed in keystone:
status: In Progress → Fix Committed
Changed in keystone:
status: Fix Committed → In Progress
Changed in keystone:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to keystone (master)

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
Revision history for this message
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)
Changed in keystone:
milestone: none → grizzly-1
Thierry Carrez (ttx)
Changed in keystone:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in keystone:
milestone: grizzly-1 → 2013.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.