then, what should i do to attach the no-op control for the ldap_search_s()
On Thu, Sep 6, 2012 at 12:48 AM, Quanah Gibson-Mount <quanah(a)zimbra.com>wrote:
--On Wednesday, September 05, 2012 9:03 PM +0200 Michael Ströder
Puneet Khunteta wrote:
>> Basically i need the count how many SearchResultEntry responses you get
>> from ldap_search_s().
> You won't get the count without retrieving the results.
Incorrect. You can use the noop control to do this. We actually do this
now in Zimbra to get the total number of accounts in LDAP without having to
get the full result set back.
Sr. Member of Technical Staff
A Division of VMware, Inc.
Zimbra :: the leader in open source messaging and collaboration