Is there a way to limit the number of records that
doing a LDAP search will return? I would like
to limit to a specific number, say 10. This is to
prevent someone from doing a wild card search
and returning thousands of records.
I can truncate the array after they are returned,
but I would rather prevent it in the first case.
Is there a way to limit the number of records that
doing a LDAP search will return? I would like
to limit to a specific number, say 10. This is to
prevent someone from doing a wild card search
and returning thousands of records.
<snip>
I'll take that as a feature request.
I'll second that feature request. I'm working on making ActiveLDAP act
more like ActiveRecord, and that's one feature I'd love to see :).