Skip to Content.
Sympa Menu

grouper-users - Re: [grouper-users] LDAP Grouper Loader paging issue

Subject: Grouper Users - Open Discussion List

List archive

Re: [grouper-users] LDAP Grouper Loader paging issue


Chronological Thread 
  • From: Shilen Patel <>
  • To: Thomas Heetderks <>, T-Heetderks <>
  • Cc: "" <>
  • Subject: Re: [grouper-users] LDAP Grouper Loader paging issue
  • Date: Tue, 4 May 2021 11:05:59 +0000
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=duke.edu; dmarc=pass action=none header.from=duke.edu; dkim=pass header.d=duke.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=vrvKbhKQdboYM8onkNQVuRNBLHT4DtRlz4mZKZYscGo=; b=Dsj14ey5Sd1ozzLq88kDlFUhOYedzHI4/cQ7UFLgbHb61dOx/TU4pKj78kmvxxfsrmo7f5COrVuAtJNhjzGpjb/+dkqyH3Vcx0D+R71Ht9hNvPR/AyTPcj1gcepO0iKCvSajlNWgQCJ2hj1+bLVNH4Fq1vDcXhwQZqg9/rcDLLBtqwEUOZvDB/RtBCtpYEynZPb1cem/F1wIPKOAbPfCt+ETv199OMdp9KLOLg5mPFrrVG3GnT5Pg/AfWCVYugIpOCF8g5qk8WArLwc4ShwpobzOXMG119mWuIW6AY8A94o08jsxP6F9IVrJYgpCfDtI1Bp2q9PaE/ZU0DqUpJ1+7g==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bsFV6Fo0A4kEBYvtz7G9s/dVPf3jtEgJLXljgrKAhdvRl2khG0FwXVBTFQnStjr0L0n/CS87c5xwbVk5xjkET8OTinceE67bExkehZlUMalqSkgR7iBqtocgTaG2W00kmi69he36HGPTmIH3uMfOOycpACOLaI+9pyCTcRMwPiNdInYxqcyrzmNc3gcPx6rD+CrPWA9wZ/901hkl2JxE+BmWaYLqoE9M/c5CKR3EIxR2sSSyuOPoY8L7O4dUo8oilYlEmBzMzgS0/Bt9VT933Oi69oiCM89gtQggwYNjV2LORYtdL1GSfNOz4m3hQpkIkYjQfu350NXn7BO/h7HUaQ==

Do you have a stacktrace?  What does your loader config look like?

 

Thanks!

 

- Shilen

 

From: Thomas Heetderks <>
Date: Monday, May 3, 2021 at 6:25 PM
To: Shilen Patel <>, T-Heetderks <>
Cc: "" <>
Subject: Re: [grouper-users] LDAP Grouper Loader paging issue

 

Thanks Shilen.

You were right, I was finally able to determine how settings needed to be adjusted on the OpenLDAP server.

I now get all records loading,,,
BUT do you know what config issue would cause this:

ERROR: Could not find subject by id 'xxxxx' in source: 'g:gsa'!

I'm guessing this is a simple fix, but I have been hunting through the wiki, grouper-user posts and
haven't found an answer.

Thanks so much!
- Thomas

On 4/23/21 12:20 PM, Shilen Patel wrote:

It seems like Grouper is trying to do paging since the logs show the first query returns 400 results and then the second returns 100.  
 
Are you able to run a command line ldapsearch that has a page size of 400 and returns more than 500 using the same ldap account?  I don’t normally use openldap but I’m looking at some openldap docs that state the following:
 
“However, the size limit applies to the total count of entries returned within the search, and not to a single page.”
 
Are you able to increase the size limit for the ldap account that grouper is using?
 
Thanks!
 
- Shilen
 
On 4/23/21, 1:31 PM,   wrote:
 
    Been having issues trying to get my LDAP Grouper Loader to work.
    I don't understand why the paging (via pagedResultsSize) isn't working...
    When running the Diagnostic, it connects and queries successfully, but only
    returns the OPENLDAPs transaction limit (500).
    The grouper-loader.properties file has:
    
    ldap.enterpriseldap.pagedResultsSize = 400
    
    The OPENLDAP log shows:
    
    slapd[1249]: conn=1553 op=4 SRCH base="ou=people,dc=montana,dc=edu" scope=2
    deref=0 filter="(&(uid=groupersystem)(objectClass=person))"
    slapd[1249]: conn=1553 op=4 SRCH attr=cn uniqueIdentifier givenname sn uid
    mail
    slapd[1249]: conn=1553 op=4 SEARCH RESULT tag=101 err=0 nentries=0 text=
    slapd[1249]: conn=1553 op=5 SRCH base="ou=people,dc=montana,dc=edu" scope=2
    deref=0 filter="(&(|(uid=groupersystem)(employeeNumber=groupersystem))
    (objectClass=person))"
    slapd[1249]: conn=1553 op=5 SRCH attr=cn uniqueIdentifier givenname sn uid
    mail
    slapd[1249]: <= bdb_equality_candidates: (employeeNumber) not indexed
    slapd[1249]: conn=1553 op=5 SEARCH RESULT tag=101 err=0 nentries=0 text=
    slapd[1249]: conn=1553 op=6 SRCH base="ou=people,dc=montana,dc=edu" scope=2
    deref=0 filter="(objectClass=person)"
    slapd[1249]: conn=1553 op=6 SRCH attr=uniqueIdentifier
    slapd[1249]: conn=1553 op=6 SEARCH RESULT tag=101 err=0 nentries=400 text=
    slapd[1249]: conn=1553 op=7 SRCH base="ou=people,dc=montana,dc=edu" scope=2
    deref=0 filter="(objectClass=person)"
    slapd[1249]: conn=1553 op=7 SRCH attr=uniqueIdentifier
    slapd[1249]: conn=1553 op=7 SEARCH RESULT tag=101 err=4 nentries=100 text=
    
    Any help is greatly appreciated!
    - Thomas
    
 






Archive powered by MHonArc 2.6.24.

Top of Page