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

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



--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



--

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