Feature Requests item #707547 (ldap_count_entries)

Michael Ströder michael at stroeder.com
Mon Mar 24 02:45:44 CET 2003


Ludovico Magnocavallo wrote:
> 
> I'm stuck at trying to generate employee count for each ou, and here's where
> I got to asking to add support for ldap_count_entries. Retrieving employees
> for every ou takes too long, I only need a count. Our current C programs use
> ldap_count_entries.

After looking into RFC 2251, man-page of ldap_count_entries and 
draft-ietf-ldapext-ldap-c-api I have some doubts that ldap_count_entries() 
can count *all* results of search without actually receiving *all* the results.

I'd really like to see some snippets of your C code. Especially the 
parameters you pass to ldap_result().

Ciao, Michael.



More information about the python-ldap mailing list