Dave Kirby wrote: > Hi, I am trying to search for all groups on a server, but there are > more than the server sizelimit results, so the search fails to get > them all. > > My understanding is that the only way to get round this is to use a > paged search control with the search,
Which LDAP server product? With MS Active Directory using the simple paged results control helps to circumvent the search result limit. But this won't work with other LDAP servers like OpenLDAP which always enforces the configured search result limit. > but according to the python-ldap > docs controls are not supported for the search functions even though > they are for other functions. Which version of python-ldap and docs are you referring to? An example for simple paged results is shipped in the source distribution. See this file: Demo/page_control.py > Is there a way in python-ldap to get all the results from a search > query, or am I shafted? In general the server determines what "all the results" means. ;-) Ciao, Michael. ------------------------------------------------------------------------------ Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev _______________________________________________ Python-LDAP-dev mailing list Python-LDAP-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/python-ldap-dev