[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: size limits

Daniel Henninger wrote:

I'm trying to accomplish the following:
1. if someone searches within the ou=people,dc=ncsu,dc=edu tree, then
   the most results they can get is 50
2. if someone searches anywhere else (ou=printers,dc=ncsu,dc=edu for
   example) there is no limit to the number of results they can get

Is this possible?  It -almost- looks like the limits command would do it,
but I can not figure it out.

At least with OpenLDAP 2.1, you cannot limit results based on the records returned. My guess is that the only way to go about this would be to create a separate database backend.

           John Borwick
       Systems Administrator
      Wake Forest University | web  http://www.wfu.edu/~borwicjh
      Winston-Salem, NC, USA | GPG key ID               56D60872

Attachment: signature.asc
Description: OpenPGP digital signature