Skip to Content.
Sympa Menu

grouper-users - [grouper-users] RE: grouper LDAP loader

Subject: Grouper Users - Open Discussion List

List archive

[grouper-users] RE: grouper LDAP loader


Chronological Thread 
  • From: Chris Hyzer <>
  • To: Rahul Doshi <>, "" <>
  • Subject: [grouper-users] RE: grouper LDAP loader
  • Date: Sun, 9 Sep 2012 01:13:37 +0000
  • Accept-language: en-US

Thanks a lot for figuring that out!  I put that in the 2.1 branch (if there is ever a 2.1.3), and it will be merged forward of course.


Thanks!
Chris

ps. for consistency I had it default to -1 instead of 0 and checked that since the other params do that...  shouldnt matter though


From: [] on behalf of Rahul Doshi []
Sent: Friday, September 07, 2012 8:53 AM
To:
Subject: [grouper-users] Re: grouper LDAP loader

Setting ldap.ad.pagedResultsSize=100 in grouper-loader.properties solved my problem.  This property was not enabled by default.  I had to make below changes to the grouper project to make it work.  If these changes can be made part of the release that would be great.

GrouperLoaderLdapServer.java

  public int getPagedResultsSize() {

    return this.pagedResultsSize;

  }


  public void setPagedResultsSize(int pagedResultsSize) {

    this.pagedResultsSize = pagedResultsSize;

  }


LdapSession.java

  if (grouperLoaderLdapServer.getPagedResultsSize() != 0) {

            ldapConfig.setPagedResultsSize(grouperLoaderLdapServer.getPagedResultsSize());

 }


GrouperLoaderConfig.java

 grouperLoaderLdapServer.setPagedResultsSize(getPropertyInt("ldap." + name + ".pagedResultsSize", 0));


Thanks,

Rahul


From: Chris Hyzer <>
Date: Thursday, August 23, 2012 10:13 AM
To: Rahul Doshi <>, "" <>
Subject: RE: grouper LDAP loader

If there is not a good way to do this with vt-ldap / most-ldap-servers, then can you bump that param up on the LDAP server?  J

 

Thanks,

Chris

 

From: Rahul Doshi []
Sent: Thursday, August 23, 2012 9:50 AM
To: Chris Hyzer;
Subject: Re: grouper LDAP loader

 

I already tried that property and it didn't help.

 

Thanks,

Rahul

 

From: Chris Hyzer <>
Date: Wednesday, August 22, 2012 11:45 PM
To: Rahul Doshi <>, "" <>
Subject: RE: grouper LDAP loader

 

You can set the batchsize in the grouper-loader.properties for that ldap connection.  Does that solve the issue?

 

http://vt-middleware.googlecode.com/svn/vt-ldap/javadoc/vt-ldap-3.2/edu/vt/middleware/ldap/LdapConfig.html#setBatchSize%28int%29

 

Or do we need to page through the results somehow, getting first page, second, etc.  Anyone with vt-ldap experience know how to proceed?

 

Thanks,

Chris

 

 

From: [] On Behalf Of Rahul Doshi
Sent: Wednesday, August 22, 2012 10:23 AM
To:
Subject: [grouper-users] grouper LDAP loader

 

Hello,

 

Is there a way to specify batch size in grouper LDAP loader?  I am trying to load AD groups in grouper and the credentials that I am using has a size limit of 1000 and as a result I am only able to load 1000 groups out of approximately 5000 groups that are in our AD environment.

 

Thanks,

Rahul




Archive powered by MHonArc 2.6.16.

Top of Page