grouper-users - Re: [grouper-users] [Ext] Re: pspng ldapSearchResultPagingSize doesn't seem to do anything
Subject: Grouper Users - Open Discussion List
List archive
Re: [grouper-users] [Ext] Re: pspng ldapSearchResultPagingSize doesn't seem to do anything
Chronological Thread
- From: "Crawford, Jeffrey" <>
- To: Shilen Patel <>
- Cc: Daniel Burtenshaw <>, Grouper-Users <>, Jeffrey Williams <>, Greg Haverkamp <>
- Subject: Re: [grouper-users] [Ext] Re: pspng ldapSearchResultPagingSize doesn't seem to do anything
- Date: Wed, 4 Sep 2019 14:41:37 +0000
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=it.ucla.edu; dmarc=pass action=none header.from=it.ucla.edu; dkim=pass header.d=it.ucla.edu; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=zWGidNPub/zvBeC952zWSQI9BUnln1YoTB2oSH0NC1I=; b=PIGgP270EqM6nFvHju4Ip4f0K4lmzZICD0qktKyl9S0dfbA7iLuFUl9UUNutjr6G6CeCBQ7AGLg/IfhjX0GIC5lvoZ0A822GmxtMi/9VN5hTHl1pVf7QLti+Wb7apyjJ4gSh+DBidjWI81EEwiSzMVcZ5XgPfnhbSukxCIbNABdzkJRjjSSnXegTW5vrkUq3XK5tGkrDaSSnRXVtgw+d4AjWFk5ukmRiLPlXSlEMccHzXWJ3wYHkXVboLSbMgprpPhCcA7zvSJ2aTUkeQSdJgNIiKZgTTa7C2VGcEp/tDSDI32JXUSdhAlsco+ZRg/pbV8OCBXxG6uY0AoWYckp6hQ==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OnjNqMR63lRGw/C86fUOYbFlqHHg/5+gtVUhkLwD1qwt/EcdTMdAeurPHWZk1B8ZDjGE9seBYLBl4bMvU0KIjLP2eiIRJz5n0CdsFrjI6XHRyt9gNMxGB/UUQ2836Eqr3316S1L9Hi67B5j2Eat+52UG/N06CWKMo314OjRDUkVhYfPOvCcbL8eu9UMYI38e9zAGE7xdvi+n5jZ0laAYIt+KMlcGLGVwHS8m8+mz9unr2sy6NVeFa6m4su85kdGOhuncdEwGeodpX0POekzgzSJ1LwEJB23LlfAxuUAvBnxJFY5CvMANpBScbUHR44t9UFd2niUS2Gm/wC4ckRZ9aA==
I’m pretty much getting the entire list back, something like 14k when I search for “lee”. However this is on the LDAP config, I’m noticing the two elements only show up on the JDBC config and not on the LDAP config example, is it just not supported there?
Jeffrey C.
From: Shilen Patel <>
In my subject.properties, I set the following:
subjectApi.source.example.param.maxPageSize.value = 10
(my source id was “example”)
Then when I go to the UI and click on Add Members and type in a value (e.g. “joh”), it would typically return hundreds of results but the search box only shows 11 (1 more than the page size).
The ldap logs show this as well.
[04/Sep/2019:09:05:14 -0400] conn=32305 op=10 RESULT err=4 tag=101 nentries=11 etime=0
I’m curious what you’re seeing?
Thanks!
- Shilen
From:
<> on behalf of "Crawford, Jeffrey" <>
I’ve gotten further, but there seems to be multiple places to configure these things. I got the main paging setup in grouper-loader.properties by using: ldap.personLdap.pagedResultsSize = 1000
However I want to limit the search to < 1000 entries in the search box, I’ve tried the following in the subject.properties file but it’s not working: subjectApi.source.ldap.param.maxResults.value = 1000 subjectApi.source.ldap.param.maxPageSize.value = 100
Should the above work? Jeffrey C.
From:
<> on behalf of "Crawford, Jeffrey" <>
So this is what I’ve done now, but still paging only 100. The LDAP loader isn’t paging at all. I also tried “batchSize” since it was one of the examples but that didn’t work either.
ldap.personLdap.url = ldaps://ldap.iam.ucla.edu:636 ldap.personLdap.user = uid=svcacct, ou=edimi consumers, dc=edtest, dc=ucla, dc=edu ldap.personLdap.pass = /path/to/encryptedLDAP.pass ldap.personLdap.tls = false ldap.personLdap.searchResultPagingEnabled = true ldap.personLdap.searchResultPagingSize = 1000
From:
Greg Haverkamp <>
I assume when you put it in your personLdap you changed it from ldapSearchResultPagingSize to just searchResultPagingSize?
The former, as I noted, appears nowhere in the code. (You can go to GitHub and search to confirm.) The latter does, with the code I quoted sending what should be read from your ldap config, or sending the default if it’s not there.
I think the documentation is simply wrong. If you find that you can make it work, you might correct it. :)
Greg
On Thu, Aug 29, 2019 at 1:13 PM Crawford, Jeffrey <> wrote:
|
- Re: [grouper-users] [Ext] Re: pspng ldapSearchResultPagingSize doesn't seem to do anything, Crawford, Jeffrey, 09/03/2019
- Re: [grouper-users] [Ext] Re: pspng ldapSearchResultPagingSize doesn't seem to do anything, Shilen Patel, 09/04/2019
- Re: [grouper-users] [Ext] Re: pspng ldapSearchResultPagingSize doesn't seem to do anything, Crawford, Jeffrey, 09/04/2019
- Re: [grouper-users] [Ext] Re: pspng ldapSearchResultPagingSize doesn't seem to do anything, Shilen Patel, 09/04/2019
- Re: [grouper-users] [Ext] Re: pspng ldapSearchResultPagingSize doesn't seem to do anything, Crawford, Jeffrey, 09/05/2019
- Re: [grouper-users] [Ext] Re: pspng ldapSearchResultPagingSize doesn't seem to do anything, Shilen Patel, 09/04/2019
- Re: [grouper-users] [Ext] Re: pspng ldapSearchResultPagingSize doesn't seem to do anything, Crawford, Jeffrey, 09/04/2019
- Re: [grouper-users] [Ext] Re: pspng ldapSearchResultPagingSize doesn't seem to do anything, Shilen Patel, 09/04/2019
Archive powered by MHonArc 2.6.19.