Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1720331

Summary: Log the actual base DN when the search fails with "invalid attribute request".
Product: Red Hat Enterprise Linux 8 Reporter: thierry bordaz <tbordaz>
Component: 389-ds-baseAssignee: mreynolds
Status: CLOSED ERRATA QA Contact: RHDS QE <ds-qe-bugs>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 8.1CC: ds-qe-bugs, gparente, jvilicic, lkrispen, mreynolds, msauton, nkinder, pasik, rmeggins, spichugi, tbordaz, tmihinto, tscherf, vashirov
Target Milestone: rcFlags: pm-rhel: mirror+
Target Release: 8.1   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 389-ds-base-1.4.1.3-5.module+el8.1.0+3776+ece1ae4c Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1662461 Environment:
Last Closed: 2019-11-05 21:00:29 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:
Bug Depends On: 1662461    
Bug Blocks: 1713200    

Comment 2 Viktor Ashirov 2019-08-19 10:08:54 UTC
Build tested: 389-ds-base-1.4.1.3-5.module+el8.1.0+3776+ece1ae4c.x86_64


[root@server-rhel8 ds]# ldapsearch -xLLL -D "cn=Directory Manager" -w password -b "dc=example,dc=com" -sbase objectclass=* ""
dn: dc=example,dc=com

[root@server-rhel8 ds]# ldapsearch -xLLL -D "cn=Directory Manager" -w password -b "dc=example,dc=com" -sbase objectclass=* "" "" ""
Protocol error (2)


[19/Aug/2019:10:06:06.120890334 +0000] conn=1 fd=64 slot=64 connection from ::1 to ::1
[19/Aug/2019:10:06:06.121232395 +0000] conn=1 op=0 BIND dn="cn=Directory Manager" method=128 version=3
[19/Aug/2019:10:06:06.171106230 +0000] conn=1 op=0 RESULT err=0 tag=97 nentries=0 etime=0.0050130230 dn="cn=directory manager"
[19/Aug/2019:10:06:06.171383232 +0000] conn=1 op=1 SRCH base="dc=example,dc=com" scope=0 filter="(objectClass=*)" attrs=""
[19/Aug/2019:10:06:06.171454390 +0000] conn=1 op=1 RESULT err=0 tag=101 nentries=1 etime=0.0000226314
[19/Aug/2019:10:06:06.171658526 +0000] conn=1 op=2 UNBIND
[19/Aug/2019:10:06:06.171680063 +0000] conn=1 op=2 fd=64 closed - U1
[19/Aug/2019:10:06:15.264081605 +0000] conn=2 fd=64 slot=64 connection from ::1 to ::1
[19/Aug/2019:10:06:15.264393587 +0000] conn=2 op=0 BIND dn="cn=Directory Manager" method=128 version=3
[19/Aug/2019:10:06:15.314723198 +0000] conn=2 op=0 RESULT err=0 tag=97 nentries=0 etime=0.0050577223 dn="cn=directory manager"
[19/Aug/2019:10:06:15.314942674 +0000] conn=2 op=1 SRCH base="dc=example,dc=com" scope=0 filter="(objectClass=*)", invalid attribute request
[19/Aug/2019:10:06:15.314964942 +0000] conn=2 op=1 RESULT err=2 tag=101 nentries=0 etime=0.0000148948
[19/Aug/2019:10:06:15.315134906 +0000] conn=2 op=2 UNBIND
[19/Aug/2019:10:06:15.315149246 +0000] conn=2 op=2 fd=64 closed - U1


base is no longer "(null)", correct value is present. Marking as VERIFIED.

Comment 4 errata-xmlrpc 2019-11-05 21:00:29 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-2019:3401