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 957864

Summary: Simple paged results should support async search
Product: Red Hat Enterprise Linux 6 Reporter: Noriko Hosoi <nhosoi>
Component: 389-ds-baseAssignee: Rich Megginson <rmeggins>
Status: CLOSED ERRATA QA Contact: Sankar Ramalingam <sramling>
Severity: unspecified Docs Contact:
Priority: high    
Version: 6.4CC: jgalipea, lnovich, nhosoi, nkinder
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 389-ds-base-1.2.11.15-22.el6 Doc Type: Bug Fix
Doc Text:
Cause: Simple Paged Results did not supoort asynchronous search. Consequence: If the Directory Server received intensive asynchronous search requests, some of the requests failed and returned error 53 (LDAP_UNWILLING_TO_PERFORM). Fix: Asynchronous search support is implemented. Result: The Directory Server safely handles intensive asynchronous, simple paged result search requests.
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-11-21 21:07:26 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 2013-04-29 18:30:30 UTC
This bug is created as a clone of upstream ticket:
https://fedorahosted.org/389/ticket/47347

Some of the intensive asynchronous search requests fail with "unwilling to perform(53), Simple Paged Results Search already in progress on this connection".

Observed in 389-ds-base-1.2.11.15-11.el6.x86_64, but master also has the issue.

In the current code, SPR (simple paged results) is serialized and if a next page request comes in while the current page is being retrieved and returned, it returns 53 to the next page request.

Comment 6 Sankar Ramalingam 2013-08-19 10:29:36 UTC
Hi Noriko,
   To reproduce the issue - I need to run two parallel simple paged search and it should not return error 50. Please correct me if I am wrong.

Comment 7 Nathan Kinder 2013-08-19 14:37:14 UTC
(In reply to Sankar Ramalingam from comment #6)
> Hi Noriko,
>    To reproduce the issue - I need to run two parallel simple paged search
> and it should not return error 50. Please correct me if I am wrong.

The two searches need to be performed on the same connection using async LDAP calls.  You can't reproduce/verify the issue by simply running two separate search clients, as they will be using separate connections.  The original issue was encountered by SSSD, so you could use that as a client.  The alternative is to write a custom test client program.

Comment 8 Sankar Ramalingam 2013-09-11 12:00:40 UTC
Marking the bug as Verified since the associated sssd bugzilla was verified on RHEL6.5.
sssd bugzilla - https://bugzilla.redhat.com/show_bug.cgi?id=951086

Comment 9 errata-xmlrpc 2013-11-21 21:07:26 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.

http://rhn.redhat.com/errata/RHBA-2013-1653.html