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

Re: Execute a Filter and get the boolean status true/false

Hello Quanah,
 then, what should i do to attach the no-op control for the ldap_search_s() operation ?


On Thu, Sep 6, 2012 at 12:48 AM, Quanah Gibson-Mount <quanah@zimbra.com> wrote:
--On Wednesday, September 05, 2012 9:03 PM +0200 Michael Ströder <michael@stroeder.com> wrote:

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.



Quanah Gibson-Mount
Sr. Member of Technical Staff
Zimbra, Inc
A Division of VMware, Inc.
Zimbra ::  the leader in open source messaging and collaboration