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

openldap client - detect paging and count number of entries search return



hi all,

i would like to know best way to accomplish the below given operations; considering both time and memory

* detect whether LDAP server has enabled paging (without making an ldap_search call; preferably)
   currently i am doing a ldap_search and detecting the error code LDAP_NOT_SUPPORTED, then reverting back
* counting the number of entries satisfying particular filter
   i am planning to do an asynchronous LDAP search and do a ldap_count_entries on the result

thanks
bekz