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 2000060 - with base scope, ldapsearch on cn=compat,$SUFFIX does not return any entry
Summary: with base scope, ldapsearch on cn=compat,$SUFFIX does not return any entry
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: slapi-nis
Version: 8.5
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: rc
: ---
Assignee: Alexander Bokovoy
QA Contact: ipa-qe
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-09-01 09:44 UTC by Florence Blanc-Renaud
Modified: 2022-11-08 10:25 UTC (History)
3 users (show)

Fixed In Version: slapi-nis-0.60.0-1.module+el8.7.0+16405+581a7c1e
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-11-08 09:35:45 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker FREEIPA-7061 0 None None None 2021-10-11 09:56:01 UTC
Red Hat Issue Tracker RHELPLAN-95854 0 None None None 2021-09-01 09:45:51 UTC
Red Hat Product Errata RHBA-2022:7540 0 None None None 2022-11-08 09:36:23 UTC

Description Florence Blanc-Renaud 2021-09-01 09:44:55 UTC
Description of problem:
Using a base search on cn=compat,$SUFFIX does not return any entry although cn=compat,$SUFFIX exists.

# ldapsearch -LLL -o ldif-wrap=no -D cn=directory\ manager -w Secret123 -b cn=compat,dc=ipa,dc=test -s base
No such object (32)
Matched DN: dc=ipa,dc=test

# ldapsearch -LLL -o ldif-wrap=no -D cn=directory\ manager -w Secret123 -b cn=compat,dc=ipa,dc=test 
dn: cn=compat,dc=ipa,dc=test
objectClass: extensibleObject
cn: compat

dn: cn=users,cn=compat,dc=ipa,dc=test
objectClass: extensibleObject
cn: users
[...]

Version-Release number of selected component (if applicable):
# rpm -qa ipa-server slapi-nis
ipa-server-4.9.6-4.module+el8.5.0+11912+1b4496cf.x86_64
slapi-nis-0.56.6-3.module+el8.5.0+11645+9d3a3007.x86_64


How reproducible:
Always

Steps to Reproduce:
1. ldapsearch -LLL -o ldif-wrap=no -D cn=directory\ manager -w Secret123 -b cn=compat,dc=ipa,dc=test -s base

Actual results:
No such object

Expected results:
dn: cn=compat,dc=ipa,dc=test
objectClass: extensibleObject
cn: compat

Additional info:
This is similar to BZ 1958909, where a base search on cn=admins,cn=groups,cn=compat,dc=example,dc=com did not return anything but which got fixed.
The fix apparently was not complete: base search with baseDNs below cn=compat,$SUFFIX now work as expected but base search directly on cn=compat,$SUFFIX still don't return any entry.

Comment 1 Florence Blanc-Renaud 2021-09-02 07:19:01 UTC
@tbordaz Could you have a look at the issue? Thx

Comment 4 Alexander Bokovoy 2022-08-21 05:39:53 UTC
Should be addressed with slapi-nis 0.60.0 release.

Comment 5 anuja 2022-08-23 14:10:33 UTC
Verified Using :

[root@master ~]# ldapsearch -LLL -o ldif-wrap=no -D cn=directory\ manager -w Secret123 -b cn=compat,dc=ipa,dc=test -s base
dn: cn=compat,dc=ipa,dc=test
objectClass: extensibleObject
cn: compat

[root@master ~]# rpm -qa ipa-server slapi-nis
slapi-nis-0.60.0-1.module+el8.7.0+16405+581a7c1e.x86_64
ipa-server-4.9.10-6.module+el8.7.0+16405+581a7c1e.x86_64
[root@master ~]#

Comment 8 anuja 2022-08-29 05:17:15 UTC
Verified using nightly build:

[root@master ~]# ldapsearch -LLL -o ldif-wrap=no -D cn=directory\ manager -w Secret123 -b cn=compat,dc=ipa,dc=test -s base
dn: cn=compat,dc=ipa,dc=test
objectClass: extensibleObject
cn: compat

[root@master ~]# rpm -qa ipa-server slapi-nis
slapi-nis-0.60.0-1.module+el8.7.0+16405+581a7c1e.x86_64
ipa-server-4.9.10-6.module+el8.7.0+16405+581a7c1e.x86_64
[root@master ~]#

Comment 10 errata-xmlrpc 2022-11-08 09:35:45 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 (idm:client and idm:DL1 bug fix and enhancement update), 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-2022:7540


Note You need to log in before you can comment on or make changes to this bug.