list_user_ids_for_project returns dumb member in LDAP backend

Bug #1323489 reported by Sergey Nikitin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Identity (keystone)
Fix Released
Medium
Sergey Nikitin

Bug Description

In case of returning members as attributes method list_user_ids_for_project returns dumb member.
In this case members returning in the follow form:
 {'member': [u'CN=dumb,DC=nonexistent', u'CN=d26520a7dbb64bb791d1b1c6759fddf6,OU=Users,CN=example,CN=com']}
Check that this member is dumb return an incorrect result because dumb member dn is 'cn=dumb,dc=nonexistent', not 'CN=dumb,DC=nonexistent'.

Tags: ldap
Changed in keystone:
assignee: nobody → Sergey Nikitin (snikitin)
Changed in keystone:
status: New → In Progress
Dolph Mathews (dolph)
tags: added: ldap
Changed in keystone:
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to keystone (master)

Reviewed: https://review.openstack.org/88517
Committed: https://git.openstack.org/cgit/openstack/keystone/commit/?id=601ecd472a7426c626a98d7c4be491e77dc8a4d0
Submitter: Jenkins
Branch: master

commit 601ecd472a7426c626a98d7c4be491e77dc8a4d0
Author: Sergey Nikitin <email address hidden>
Date: Mon May 26 09:54:30 2014 +0400

    Check that the user is dumb moved to the common method

    The code which checks if a user is the dumb member
    was moved to a new method to remove duplication of code.

    Closes-Bug: #1323489
    Change-Id: I61720d4b9ddeaf860578f76bc524fbda14984535

Changed in keystone:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in keystone:
milestone: none → juno-1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in keystone:
milestone: juno-1 → 2014.2
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.