I am using the python-ldap module to (amongst other things) search for groups, and am running into the server's size limit and getting a SIZELIMIT_EXCEEDED
exception. I have tried both synchronous and asynchronous searches and hit the problem both ways.
You are supposed to be able to work round this by setting a paging control on the search, but according to the python-ldap docs these controls are not yet implemented for search_ext()
. Is there a way to do this in Python? If the python-ldap
library does not support it, is there another Python library that does?
Here are some links related to paging in python-ldap.