fakeldap search with SUBTREE scope does not return the base entry
Bug #1368772 reported by
Richard Megginson
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Fix Released
|
Low
|
Nathan Kinder |
Bug Description
An LDAP search with scope SUBTREE must return the base entry specified in the search request. The BaseLdap.search_s method does not do this. The fix in that method is simple:
- results = []
+ results = [(base, item_dict)]
Unfortunately, there are some tests that fail because they expect the broken behavior. Those tests will also need to be fixed.
tags: | added: test-improvement |
Changed in keystone: | |
importance: | Undecided → Low |
Changed in keystone: | |
assignee: | Brant Knudson (blk-u) → Nathan Kinder (nkinder) |
Changed in keystone: | |
milestone: | none → kilo-2 |
Changed in keystone: | |
status: | Fix Committed → Fix Released |
Changed in keystone: | |
milestone: | kilo-2 → 2015.1.0 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/121370
Review: https:/