Limit Net::LDAP results

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.

Thanks in advance,
Don Mc

Don Mc wrote:

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 :).