Bug 742324

Summary: allow nsslapd-idlistscanlimit to be set dynamically and per-user
Product: [Retired] 389 Reporter: Rich Megginson <rmeggins>
Component: Database - GeneralAssignee: Rich Megginson <rmeggins>
Status: CLOSED CURRENTRELEASE QA Contact: Ben Levenson <benl>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.2.9CC: nhosoi, rmeggins
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 742382 (view as bug list) Environment:
Last Closed: 2015-12-10 18:42:42 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 742382, 743970    
Attachments:
Description Flags
0002-Bug-742324-allow-nsslapd-idlistscanlimit-to-be-set-d.patch nkinder: review+, nhosoi: review+

Description Rich Megginson 2011-09-29 17:40:00 UTC
Unable to change nsslapd-idlistscanlimit in a running server.
Unable to set per-user idlistscanlimit (as with nsLookThroughLimit)

Comment 1 Rich Megginson 2011-09-29 17:45:35 UTC
Created attachment 525606 [details]
0002-Bug-742324-allow-nsslapd-idlistscanlimit-to-be-set-d.patch

Comment 2 Rich Megginson 2011-09-29 20:36:21 UTC
To ssh://git.fedorahosted.org/git/389/ds.git
   0157534..c21515b  master -> master
commit c21515b1577d5e71fddc20b91bae7abfda6c90e1
Author: Rich Megginson <rmeggins@redhat.com>
Date:   Thu Sep 29 11:36:20 2011 -0600
    Reviewed by: nhosoi, nkinder (Thanks!)
    Branch: master
    Fix Description: Changed the ldbm_config for idlistscanlimit to allow running
    change.  Added a new attribute nsIDListScanLimit that works just like
    nsLookThroughLimit for user entries.  For each search operation, calculate
    the idlistscanlimit to use based on any nsIDListScanLimit or database config.
    The biggest change was to extend the internal database API to allow the
    idlistscanlimit (aka allidslimit) to be passed down into the lowest level of
    the code where it is used.
    Platforms tested: RHEL6 x86_64
    Flag Day: no
    Doc impact: Yes - will need to document how nsIDListScanLimit and
    nsslapd-idlistscanlimit work now

Comment 5 Rich Megginson 2012-01-10 20:18:37 UTC
Upstream ticket:
https://fedorahosted.org/389/ticket/244