Bug 1274420

Summary: entry distribution functions should use normalized values
Product: Red Hat Enterprise Linux 7 Reporter: Noriko Hosoi <nhosoi>
Component: 389-ds-baseAssignee: Noriko Hosoi <nhosoi>
Status: CLOSED ERRATA QA Contact: Viktor Ashirov <vashirov>
Severity: unspecified Docs Contact:
Priority: low    
Version: 7.0CC: mreynolds, nkinder, rmeggins, spichugi
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 389-ds-base-1.3.7.5-4.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-04-10 14:15:15 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Noriko Hosoi 2015-10-22 16:44:29 UTC
This bug is created as a clone of upstream ticket:
https://fedorahosted.org/389/ticket/48310

this search return no entries.
ldapsearch -x -D "uid=User01,cn=users,dc=XXX,dc=XXX" -w XXX -s base -b "uid=user01,cn=users,dc=XXX,dc=XXX"
ldap_bind: No such object (32)
        matched DN: cn=users,dc=XXX,dc=XXX

but this return one entry
ldapsearch -x -D "uid=user01,cn=users,dc=XXX,dc=XXX" -w XXX -s base -b "uid=user01,cn=users,dc=XXX,dc=XXX"
...
# numEntries: 1


error log
...
[13/Oct/2015:12:42:49 +0200] - => send_ldap_search_entry (uid=user01,cn=users,dc=XXX,dc=XXX)
...
[13/Oct/2015:12:42:49 +0200] - mapping tree release backend : backend-users-2
...
[13/Oct/2015:12:42:49 +0200] - => find_entry_internal (dn=uid=User01,cn=users,dc=XXX,dc=XXX) lock 0
[13/Oct/2015:12:42:49 +0200] - => dn2entry_ext "uid=User01,cn=users,dc=XXX,dc=XXX"
...
[13/Oct/2015:12:42:49 +0200] - => dn2ancestor "uid=User01,cn=users,dc=XXX,dc=XXX"
[13/Oct/2015:12:42:49 +0200] - <= dn2ancestor 0
[13/Oct/2015:12:42:49 +0200] - => send_ldap_result 32:cn=users,dc=XXX,dc=XXX:
[13/Oct/2015:12:42:49 +0200] - flush_ber() wrote 37 bytes to socket 317
[13/Oct/2015:12:42:49 +0200] - <= send_ldap_result
[13/Oct/2015:12:42:49 +0200] - <= find_entry_internal_dn not found (uid=User01,cn=users,dc=XXX,dc=XXX)

Comment 4 Simon Pichugin 2017-11-06 15:46:10 UTC
Build tested:
389-ds-base-1.3.7.5-9.el7.x86_64

TET run:
Distrib_Logic run Tests PASS: 100% (10/10)

Marking as VERIFIED - sanity only.

Comment 7 errata-xmlrpc 2018-04-10 14:15:15 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/RHBA-2018:0811