[cle-release-team] Testing of the LDAP Return Limit

Sam Ottenhoff ottenhoff at longsight.com
Wed Jul 25 14:15:32 PDT 2012


First, enable debugging on edu.amc
(log.config.count=1;log.config.1=DEBUG.edu.amc).

Then, don't use User Membership (that does wildcard searches), use Site
Info instead.  Add 20 LDAP users to your site.  Observe the LDAP queries in
the logs.  It should print out the actual filter being used to construct
the searches.

Note that there is a 5 minute cache by default.  You can always clear your
defaults by going to Administration Workspace -> Memory -> Reset all.

--Sam

On Wed, Jul 25, 2012 at 5:10 PM, Aaron Zeckoski <azeckoski at unicon.net>wrote:

> Sounds like a good start. In general, the easiest place to test is
> probably the user memberships tool. That way you can do searches which
> you know will return a certain number of results (like all users with
> "aa" in their name or something).
>
> Then you probably will need to actually stick a debug marker and watch
> the execution to make sure the data is coming through the function in
> the JLDAP provider correctly. I'm not sure what the method is off the
> top of my head but it will be the one that was modified most heavily
> in the patch. If you can't find it then let me know and I can dig it
> up.
>
> :-)
> -AZ
>
>
> On Wed, Jul 25, 2012 at 4:58 PM, Mike Jennings <mike_jennings at unc.edu>
> wrote:
> > Aaron,
> >
> > I have setup the trunk version of sakai to point to UNC's LDAP and I can
> > successfully authenticate using my ldap credentials.
> >
> > I am trying to figure out where you want me to do the search so that I
> can
> > test this out for you and prove that only 10 results will be returned if
> I
> > set the max returned to be 10...
> >
> > This is for https://jira.sakaiproject.org/browse/SAK-21105
> >
> > Mike
> > --
> >
> ==============================================================================
> > Mike Jennings
> > Teaching and Learning Developer
> > University of North Carolina at Chapel Hill
> >
> > Office: (919) 843-5013
> > Cell: (919) 698-3746
> > E-mail: mike_jennings at unc.edu
>
>
>
> --
> Aaron Zeckoski - Software Architect - http://tinyurl.com/azprofile
> _______________________________________________
> cle-release-team mailing list
> cle-release-team at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/cle-release-team
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/cle-release-team/attachments/20120725/69cb6944/attachment-0006.html 


More information about the cle-release-team mailing list