On Fri, 2012-07-20 at 09:03 +1000, Co, Cathryn wrote:
> Solved by modifying the sizelimit config option in slapd.conf. The
> default config returns a max of 500 entries; setting this to unlimited
> fixed the issue.

That is, sadly, your only real option.  PHP [AFAIK] doesn't support the
extended operations required to page results [which is what you'd do
properly in any other language]

You can set the limits based on the bind, so some users can get more
results by default that others.  Setting this limit low, at least for
muggles, is very good for performance.

Set query Size Limits & Search Timeouts
----
limits anonymous
  size.soft=512 size.hard=1024 size.unchecked=32767
  time.soft=10 time.hard=60
limits group="cn=Administrators,ou=Entities,ou=Access
Control,dc=rss,dc=nw"
  size.soft=unlimited size.hard=unlimited size.unchecked=unlimited
  time.soft=60 time.hard=120
limits dn.exact="uid=syncrepl,ou=Entities,ou=Access
Control,dc=rss,dc=nw"
  size.soft=unlimited size.hard=unlimited size.unchecked=unlimited
  time.soft=unlimited time.hard=unlimited
limits users
  size.soft=1024 size.hard=2048 size.unchecked=32767
  time.soft=15 time.hard=60

Attachment: signature.asc
Description: This is a digitally signed message part

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
phpldapadmin-users mailing list
phpldapadmin-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/phpldapadmin-users

Reply via email to