Bug 1598186

Summary: A search with the scope "one" returns a non-matching entry.
Product: Red Hat Enterprise Linux 7 Reporter: Têko Mihinto <tmihinto>
Component: 389-ds-baseAssignee: mreynolds
Status: CLOSED ERRATA QA Contact: RHDS QE <ds-qe-bugs>
Severity: high Docs Contact:
Priority: high    
Version: 7.5CC: aadhikar, gparente, nkinder, rmeggins, tmihinto
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 389-ds-base-1.3.8.4-4.el7 Doc Type: No Doc Update
Doc Text:
undefined
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-10-30 10:14:34 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Têko Mihinto 2018-07-04 14:46:15 UTC
Description of problem:

An ldapsearch command is returning an entry that does not match the search filter.
This happens only when the one scope is specified.
Subtree scope works fine.


Version-Release number of selected component (if applicable):


# rpm -qa | grep 389-ds-base-1
389-ds-base-1.3.7.5-21.el7_5.x86_64
#

# cat /etc/redhat-release 
Red Hat Enterprise Linux Server release 7.5 (Maipo)
#


How reproducible:

With the customer configuration, always.

Steps to Reproduce:

1. Setup the configuration
2. Import LDIF data
3. Run the search with scope=one.
It returns an entry that doesn't match the filter.


Actual results:
The search return a wrong entry.

Expected results:
Only matching entries should be returned.


Additional info:

Comment 15 errata-xmlrpc 2018-10-30 10:14:34 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2018:3127