← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1368772] [NEW] fakeldap search with SUBTREE scope does not return the base entry

 

Public bug reported:

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.

** Affects: keystone
     Importance: Undecided
         Status: New


** Tags: ldap

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1368772

Title:
  fakeldap search with SUBTREE scope does not return the base entry

Status in OpenStack Identity (Keystone):
  New

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.

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


Follow ups

References