[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: ldap_search_ext_s...

Patrick Gelin wrote:

I'm trying to use "ldap_search_ext_s" and/or "ldap_search_ext" from
ldap-python in order to limit the size of my query result to an Active
Directory server.

This might be more a python-ldap issue. You're welcome to post such a question on the python-ldap-dev mailing list.


  result = i_ldap.search_ext_s(base,ldap.SCOPE_SUBTREE,'sn=*',sizelimit=5)

I know AD MaxPageSize is 1000 but my limit is only 5 and the result is


Simply don't set sizelimit=5 when calling method search_ext_s.

Ciao, Michael.