Libldap-ruby and sizelimit?

Hello,

I have written a curses-based ldap-browser in ruby, and faced with the
issue to limit the number of records a search results.

The rfc1823 states that the LDAP struct has an ‘ld_sizelimit’ member,
but I do not find its mapping in the ruby wrapper. :frowning:

I have run into this sizelimit problem with an M$ Exchange server,
which do not allow to browse the mail recipients (address book, I
suppose), and for the search it replies with an ‘Administrative limit
exceeded’ error.

Also, I have found a paged result extension for LDAP: RFC2696. Is it
implemented in common ldap servers? And in ldap client libs?

Thanks:
Circum